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

S0C7 Abend USER COMPLETION CODE=4039


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

New User


Joined: 08 Dec 2008
Posts: 2
Location: india

PostPosted: Mon Dec 08, 2008 3:37 pm
Reply with quote

A batch job abended with S0C7. The JESLOG for that step looks like this:
IEA995I SYMPTOM DUMP OUTPUT 108

USER COMPLETION CODE=4039 REASON CODE=00000000

TIME=04.23.41 SEQ=14047 CPU=0000 ASID=0144

PSW AT TIME OF ERROR 078D1000 867C7326 ILC 2 INTC 0D

NO ACTIVE MODULE FOUND

NAME=UNKNOWN

DATA AT PSW 067C7320 - 00181610 0A0D58D0 D00498EC

AR/GR 0: 97DC4EDE/84000000 1: 00000000/84000FC7

2: 00000000/0002CC18 3: 00000000/00060007

4: 00000000/067BBA00 5: 00000000/0002C77C

6: 00000000/00000000 7: 00000000/1950F2A8

8: 00000000/0002CC18 9: 00000000/0002E2F6

A: 00000000/0002C77C B: 00000000/067C7250

C: 00000000/00025B58 D: 00000000/0002F418

E: 00000000/867BAAE4 F: 00000002/00000000

END OF SYMPTOM DUMP.

How could we know what the problem is and how to resolve it?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Mon Dec 08, 2008 3:59 pm
Reply with quote

Rishi,

Quote:
NO ACTIVE MODULE FOUND

NAME=UNKNOWN


What job are you running? I have come across this abend when i miss giving the correct load library. Check whether you have specified the correct library.

Also search this forum for S0C7 for related topics.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Dec 08, 2008 4:15 pm
Reply with quote

Hi,

How do you conclude it's S0C7, SYSOUT posted says it's U4039.
Code:
USER COMPLETION CODE=4039 REASON CODE=00000000


Aaru,

Unless I misunderstood that would cause S806..again unless I misunderstood.
Back to top
View user's profile Send private message
rishi R

New User


Joined: 08 Dec 2008
Posts: 2
Location: india

PostPosted: Mon Dec 08, 2008 4:22 pm
Reply with quote

@AARU: The directory is correct.

@Anuj: In the JESLOG, it was also mentioned that:
+IDI0002I Module ASSC169Z, program ASSC169Z, offset X'1BB2': Abend S0C7 (Data Exception).
this is mentioned prior to the log mentioned above..

I think this is because of a bad data. it is trying to write a 250 length record into 248 LRECL output file it seems.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Dec 08, 2008 6:07 pm
Reply with quote

rishi R wrote:
I think this is because of a bad data. it is trying to write a 250 length record into 248 LRECL output file it seems.
That would typically cause ABEND S000 U4038 instead of S0C7.
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: Mon Dec 08, 2008 9:37 pm
Reply with quote

Hello rishi and welcome to the forum,

For us to be able to help, you need to post more complete diagnostic information. You chose a few things to post, but have not posted the info that will help us help you.

Please post the abend info from the jeslog (first sysout of the job) including the messag ids. Also, look at the other sysout datasets for the abended job and post which output datasetw were created. We can ask for more info from there.
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts How to delete a user's alias from the... JCL & VSAM 11
Search our Forums:

Back to Top