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

Senior Member

Joined: 21 Sep 2010
Posts: 1736
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
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm

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