Internal Reader not submitting the copied JCL
Internal Reader not submitting the copied JCL
(OP)
Hi,
I have a JCL that will invoke another JCL by using the internal reader. (see below code)
//STEP01 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=JS01.CNTL.LIB2(BJSJSA10),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
The problem is that when i try to check for the output files that is generated by JS01.CNTL.LIB2(BJSJSA10) there are no datasets generated. I checked JCL log and i can see that the BJSJSA10 JCL is being copied to the internal reader. However i also saw something in the sysprint.
********************************* TOP OF DATA *************************
DATA SET UTILITY - GENERATE
IEB352I WARNING: ONE OR MORE OF THE OUTPUT DCB PARMS COPIED FROM INPUT
PROCESSING ENDED AT EOD
******************************** BOTTOM OF DATA ***********************
i'm really not sure why the JCL is not producing any ouput dataset when invoked using the internal reader.
I have a JCL that will invoke another JCL by using the internal reader. (see below code)
//STEP01 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=JS01.CNTL.LIB2(BJSJSA10),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
The problem is that when i try to check for the output files that is generated by JS01.CNTL.LIB2(BJSJSA10) there are no datasets generated. I checked JCL log and i can see that the BJSJSA10 JCL is being copied to the internal reader. However i also saw something in the sysprint.
********************************* TOP OF DATA *************************
DATA SET UTILITY - GENERATE
IEB352I WARNING: ONE OR MORE OF THE OUTPUT DCB PARMS COPIED FROM INPUT
PROCESSING ENDED AT EOD
******************************** BOTTOM OF DATA ***********************
i'm really not sure why the JCL is not producing any ouput dataset when invoked using the internal reader.
RE: Internal Reader not submitting the copied JCL
Without seeing the contents of JS01.CNTL.LIB2(BJSJSA10), it is impossible to help you further.
RE: Internal Reader not submitting the copied JCL
Regards, Jack.
"A problem well stated is a problem half solved" -- Charles F. Kettering
RE: Internal Reader not submitting the copied JCL
I was able to find another solution to submitting a JCL inside another JCL by using a different utility(IKJEFT1A) and not by the internal reader.
//EZM7ATL1 JOB (206500,TEST,,,,0000),'ZIT 7.1,EZM7',
// MSGCLASS=T,MSGLEVEL=(1,1),CLASS=G,NOTIFY=EZM7
/STEP01 EXEC PGM=IKJEFT1A
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SUBMIT 'JS01.CNTL.LIB2(BJSJSA10)'
/*
Thanks for the replies though. :)
RE: Internal Reader not submitting the copied JCL
Seem to remember places where the internal reader was "punch" rather than "print". . .