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
 

 

Need help in Soc4 abend with reason code 10

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Need help in Soc4 abend with reason code 10
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: 216
Location: India

PostPosted: Thu Feb 28, 2008 6:03 pm    Post subject: Reply to: Need help in Soc4 abend with reason code 10
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    Post subject:
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

Senior Member


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

PostPosted: Thu Feb 28, 2008 11:53 pm    Post subject:
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    Post subject: Reply to: Need help in Soc4 abend with reason code 10
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

Site Director


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

PostPosted: Fri Feb 29, 2008 9:21 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Feb 29, 2008 8:18 pm    Post subject: Reply to: Need help in Soc4 abend with reason code 10
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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