Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2334
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 Indent cobol code Renato Zangerolami COBOL Programming 6 Thu Feb 13, 2020 12:53 am
No new posts Using ICETOOL set return code as per ... Bhuvana Narasimhan DFSORT/ICETOOL 4 Fri Jan 24, 2020 12:58 pm
No new posts CP3KEXTR Setup- SYSTEM COMPLETION COD... mighty ABENDS & Debugging 7 Tue Dec 24, 2019 10:08 pm
No new posts Debug set up for COBOL module but ope... elixir1986 IBM Tools 1 Sun Dec 22, 2019 12:05 am
No new posts Abend S000 U0000 REASON=00000000 Uday Kumar Thota IMS DB/DC 3 Wed Oct 30, 2019 8:43 pm

Back to Top
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us