Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in


S0C4 reason code 10, gets when more code is added

Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message

New User

Joined: 14 Nov 2006
Posts: 17

PostPosted: Mon Jul 07, 2014 4:36 pm    Post subject: S0C4 reason code 10, gets when more code is added
Reply with quote

I have huge Enterprise PLI program say ProgQ (load size 00536C70) running in production, when I add 2 PUT SKIP LIST statements(or any 2 executable statements), code just works fine. If add any more executable statements, it fails with S0C4 Reason code 10. This is MPP program running in IMS region (current region size is 8500K, checked by increasing IMS Region to 64M as well) , and is dynamically loaded. Prog A is calling module Module1 and it is loading ProgQ dynamically. I had put all kind of diagnostic statements to get point of failure, I am able to see all the statements until control is returned back from program ProgA(calling program for Prog Q). I suspect load module size is causing issue, but not sure how to prove ? or any solution to this. No PLI/CEE dump is produced, i.e. its not failing in PLI program. I suspect its failing when control is returned back to IMS.

When I switch to MVS PLI any addition of code works just fine.

Any guidance is appreciable. Please let me know if you need more information around the problem.
Back to top
View user's profile Send private message

Rohit Umarjikar

Global Moderator

Joined: 21 Sep 2010
Posts: 1573
Location: NY,USA

PostPosted: Tue Jul 29, 2014 8:00 pm    Post subject:
Reply with quote

Please refer to below links to get helped with the right direction, I am not sure how much suitable they are but worth cross verifying at your shop as it may solves the issue.
Back to top
View user's profile Send private message
Pat McEvoy

New User

Joined: 14 Apr 2011
Posts: 2
Location: Ireland

PostPosted: Mon Aug 11, 2014 3:17 am    Post subject:
Reply with quote

I don't know the answer but I would check the AMODE/RMODE values for the modules. For example if an AMODE(31) module tries to use one that has been built AMODE(24), it will be able to call it and it will execute, but control may get back to the calling module because the AMODE(24) module's register may not be large enough to store the return address.
Just a thought ...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts Need Help in understanding what is th... mainakdalal PL/I & Assembler 9 Mon Oct 03, 2016 8:03 pm
No new posts Problem Compiling cobol code with Cob... amitc23 COBOL Programming 2 Wed Aug 24, 2016 1:50 pm
No new posts Fault Analyser - missing code explana... egrove IBM Tools 1 Thu Aug 11, 2016 5:55 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm

Back to Top
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us