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

 

Got S0C4, but program runnning successfully, Why?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Got S0C4, but program runnning successfully, Why?
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Mon May 21, 2007 7:10 pm    Post subject:
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

Site Director


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

PostPosted: Tue May 22, 2007 4:01 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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