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

Need help in Soc4 abend with reason code 10


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
BVaishali

New User


Joined: 28 Feb 2008
Posts: 3
Location: Bangalore

PostPosted: Thu Feb 28, 2008 5:52 pm
Reply with quote

I am getting Soc4 abend with reason code 10 for my program, because of that I am not getting the Sysout in the spool. Not able to track the reason.
Back to top
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 218
Location: India

PostPosted: Thu Feb 28, 2008 6:03 pm
Reply with quote

Please provide the clear information to help u.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Feb 28, 2008 7:37 pm
Reply with quote

Quote:

because of that I am not getting the Sysout in the spool


what did you expect to find in sysout? I doubt if your Soc4 is the reason you do not have a sysout.

there are other dd names that you could have in your job which would provide abend (abnormal termination) info. check your cobol manual.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Feb 28, 2008 11:53 pm
Reply with quote

Hi,

The reason for S0C4 is when an application program passes an invalid parameter-list address or a parameter list which is not read/write accessible. Might be in program logic READ word is properly coded, however You've provided a very little information to get a better suggestoin.

And yes, as suggested there are other DD names which can provide You ABEND info, please share Your JCL, might give an insight.
Back to top
View user's profile Send private message
BVaishali

New User


Joined: 28 Feb 2008
Posts: 3
Location: Bangalore

PostPosted: Fri Feb 29, 2008 8:52 am
Reply with quote

Hi, I am attaching my JCL.
Code:
//CSFTE41E JOB (CSFR0E4),                                               *MOBIUS*
//             'NE POST-VALIDATION',                                    00000200
//             CLASS=D,                                                 00000300
//             MSGLEVEL=(1,1),                                          00000500
//             MSGCLASS=X,NOTIFY=&SYSUID,                               00000600
//             REGION=0M                                                00000800
//*                                                                     00005300
//JOBLIB DD DSN=CSF.T.KR0A9L99.CORPIMG.LOADLIB,DISP=SHR
//       DD DSN=PRD0.LOADLIB,DISP=SHR
//       DD DSN=SYS1.COBOL2.COB2LIB,DISP=SHR
//*                                                                     00005300
//COMPST   EXEC PGM=CSF1084                                             00152000
//SYSOUT   DD  SYSOUT=*                                                 00153000
//SYSUDUMP DD SYSOUT=*                                                  00153000
//SYSABOUT DD SYSOUT=*                                                  00154000
//ABENDAID DD SYSOUT=*                                                  00154000
//FILEOUT  DD  DSN=CSF.T.KR0E4N99.CSFDE41D.FILE1(+0),                   00154000
//*FILEOUT  DD  DSN=CSF.P.KR0E4N00.CSFDE424.FILE1(+0),                  00154000
//             DISP=SHR                                                 00154000
//ERRORFIL DD  DSN=VDI.P.KR0Z1N00.ISDR.P01.BREQOUT(0),
//             DISP=SHR
//ERRORFL2 DD  DSN=VDI.P.KR0Z1N00.ISDR.P04.BADREQ(0),
//             DISP=SHR
//ERRORFL3 DD  DSN=VDI.P.KR0Z1N00.ISDR.P05.ACCTBAD(0),
//             DISP=SHR
//COMPAREO DD  DSN=CSF.T.KR0E4T99.CSFDE41E.COMPOUT,
//            DISP=(NEW,CATLG,DELETE),
//            SPACE=(CYL,(800,300),RLSE),
//            DCB=(RECFM=VB,LRECL=1004,BUFNO=18)

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: Fri Feb 29, 2008 9:21 am
Reply with quote

Hello,

Why are several of the "output" files specified as (0)? Are fileout and the errorflx files output?

When the job ran, there would be 3 sysout datasets created by jes. It will probably help if you post those files.
Back to top
View user's profile Send private message
BVaishali

New User


Joined: 28 Feb 2008
Posts: 3
Location: Bangalore

PostPosted: Fri Feb 29, 2008 2:13 pm
Reply with quote

Hi,
Thanks for all your help. I got my problem solved. The abend was because it was not finding the load module of one
of the subprograms. Since I missed out pointing the correct Loadlibrary for that subprogram.
Pointing to the correct Load Library solved the problem.

Thanks to all.
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: Fri Feb 29, 2008 8:18 pm
Reply with quote

You're welcome - thank you for telling us the solution icon_smile.gif

d
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 -> COBOL Programming

 


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 Reorg abended with REASON=X'00E40347' DB2 2
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts REASON 00D70014 in load utility DB2 6
Search our Forums:

Back to Top