View previous topic :: View next topic
|
Author |
Message |
krbabu
New User
Joined: 20 Feb 2004 Posts: 57
|
|
|
|
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 |
|
|
anuradha
Active User
Joined: 06 Jan 2004 Posts: 247 Location: Hyderabad
|
|
|
|
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 |
|
|
krbabu
New User
Joined: 20 Feb 2004 Posts: 57
|
|
|
|
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 |
|
|
mvs_butta
New User
Joined: 23 Dec 2003 Posts: 13
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
|