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

Runjcl it got abended with s806


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krbabu

New User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Wed Mar 03, 2004 12:26 pm
Reply with quote

Hi,

Here Iam giving my compile jcl which gave me Maxcc = 00.

//COBCOMP JOB 'AA12',CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//STEP1 EXEC IGYWCL
//*PARM.COBOL='LIB,APOST,XREF,MAP,OFFSET'
/SYSIN DD DSN=AA12.RBTEST.COBOL(WELCOME),DISP=SHR
//SYSLIB DD DISP=SHR,DSN=AA12.COPYLIB
//SYSLMOD DD DISP=SHR,DSN=AA12.RBTEST.LOAD(WELCOME)
//SYSPRINT DD SYSOUT=*
//

And Runjcl i wrote for this is

000100 //AA12A JOB 'ACCT#','AA12',MSGLEVEL=(1,1),NOTIFY=&SYSUID
000310 //STEP1 EXEC PGM=WELCOME
000320 //STEPLIB DD DSN=AA12.RBTEST.LOAD(WELCOME),DISP=SHR
000400 //SYSPRINT DD SYSOUT=*
000500 //SYSOUT DD SYSOUT=*
000600 //

When i submitted my runjcl it got abended with s806.

Can anybody tell me where exactly i'm going wrong and what does this abend code mean?
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Wed Mar 03, 2004 1:51 pm
Reply with quote

hi ravindra,

Actually s806 abend code mean to say there is some i/o error or module not found.


it seems your load module is not found while runjcl job is run.Anyway check it once.i hope that may be the reason.


THANKS AND REGARDS
ANU
Back to top
View user's profile Send private message
krbabu

New User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Wed Mar 03, 2004 2:00 pm
Reply with quote

Ya,
That'z correct but i was mentioned the syslmod for the load library member. Can go thru the code once and let me know if any wrong in that code.
Back to top
View user's profile Send private message
mvs_butta

New User


Joined: 23 Dec 2003
Posts: 13

PostPosted: Wed Mar 03, 2004 4:14 pm
Reply with quote

Ravindra

Quote:
000320 //STEPLIB DD DSN=AA12.RBTEST.LOAD(WELCOME),DISP=SHR


your steplib should be

000320 //STEPLIB DD DSN=AA12.RBTEST.LOAD,DISP=SHR
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Mar 04, 2004 7:39 am
Reply with quote

Hi Ravindra,

Without a listing of your compile & link proc, IGYWCL, it's difficult to suggest a solution to your problem. You show DD cards for SYSIN, SYSLMOD, SYSLIB, and SYSPRINT without a stepname qualifier; they should be in the form //stepname.ddname, where stepnamme is the name of the step each belongs in, and ddname is one of the names above.

The order of their appearance should coincide with the order in which they appear in the proc.

An example:

If you have 2 steps in the proc:

//COBOL EXEC PGM=...
.
.
.
//LINK EXEC PGM=...
.
.
.

Then your execution JCL would look something like this:

//STEP1 EXEC IGYWCL
//COBOL.SYSIN DD DSN=AA12.RBTEST.COBOL(WELCOME),DISP=SHR
//COBOL.SYSLIB DD DISP=SHR,DSN=AA12.COPYLIB
//LINK.SYSLMOD DD DISP=SHR,DSN=AA12.RBTEST.LOAD(WELCOME)

I'm assuming that SYSIN appears in the proc before SYSLIB. I can't determine where the SYSPRINT card should go. I'm not even sure it needs to be overridden.

And take Butta's advice about the STEPLIB.

HTH, Jack.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts An write operation error - ABENDED S0... COBOL Programming 3
No new posts COBOL program error ENDED AT SVSCJES2... COBOL Programming 1
No new posts Need help with ABEND RC=S806 RSN=4 an... All Other Mainframe Topics 3
Search our Forums:

Back to Top