IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Got S0C4, but program runnning successfully, Why?


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kalyanp_80

New User


Joined: 03 Feb 2006
Posts: 41
Location: Hyderabad

PostPosted: Mon May 21, 2007 2:47 pm
Reply with quote

Hi,

Job is abending with S0C4 in the production. I tried to replicate the issue in test and could replicate the same error.
But when I retrived the program causing S0C4 into test and recompile it (no changes made) and run the job its running successfully.
My question is why is that job running successfully when I recompile the program?

Thanks
Amith
Back to top
View user's profile Send private message
akbar_mohammed

New User


Joined: 16 May 2007
Posts: 1
Location: Hyd

PostPosted: Mon May 21, 2007 4:32 pm
Reply with quote

WERE THE FILES USED IN BOTH THE CASES I.E., PRODUCTION AND TESTING THE SAME AND ALSO DOES THIS PROGRAM USES ANY DATA BASE.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon May 21, 2007 7:10 pm
Reply with quote

Look at the failing program's link map....you may find a called module missing.....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue May 22, 2007 4:01 am
Reply with quote

Hello,

Does the program have an internal sort?

If it does, a possible cause is that the production run is issuing a "goback" or "stop run" before the sort is finished.
Back to top
View user's profile Send private message
shagnwrx

New User


Joined: 07 Jul 2006
Posts: 17
Location: Birmingham, AL

PostPosted: Wed May 23, 2007 1:06 am
Reply with quote

So program was executed, and you got a S0C4. You re-compiled program and all worked fine?

If this is the case, my guess is that somebody goofed on the first compile regarding AMODE and RMODE.

When you recompiled, did you happen to catch those attributes? Sounds like a 24 bit program got linked to above the line for the first run.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top