I have old legacy JCL that was working fine in db2 v9. But after the upgrade to v10 , it fails with CC=08.
I am trying to understand this JCl but need some help.
Here is the code
//KZDBCMD PROC SSID=,
// DB2VER=V10R1M0,
// MODE=TEST,
// MEMBER=COMMENT,
//* S='',
// SOUT='*'
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
//* THIS PROCEDURE EXECUTES THE TSO/E TERMINAL MONITOR PROGRAM
//* AND CALLS THE DB2 ATTACHMENT INTERFACE. DB2 COMMANDS ARE
//* SUBSEQUENTLY PROCESSED VIA THE "COMMANDS" OVERRIDE.
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
//P010 EXEC PGM=IKJEFT01,DYNAMNBR=20
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
//STEPLIB DD DSN=DB2.&SSID..&DB2VER..SDSNLOAD,DISP=SHR
//SYSTSPRT DD SYSOUT=&SOUT
//SYSPRINT DD SYSOUT=&SOUT
//SYSOUT DD SYSOUT=&SOUT
//DBRMLIB DD DSN=DB2.&SSID..DBRMLIB,DISP=SHR
//SYSTSIN DD DSN=DB2.&SSID..&DB2VER..CNTLCARD(DSN&SSID),DISP=SHR
// DD DSN=&MODE..KZ.CTLCARD(&MEMBER),DISP=SHR
// DD DDNAME=COMMANDS,DCB=BLKSIZE=80
// DD DSN=DB2.&SSID..&DB2VER..CNTLCARD(LIB&SSID),DISP=SHR
//*
// DB2VER=V10R1M0,
// MODE=TEST,
// MEMBER=COMMENT,
//* S='',
// SOUT='*'
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
//* THIS PROCEDURE EXECUTES THE TSO/E TERMINAL MONITOR PROGRAM
//* AND CALLS THE DB2 ATTACHMENT INTERFACE. DB2 COMMANDS ARE
//* SUBSEQUENTLY PROCESSED VIA THE "COMMANDS" OVERRIDE.
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
//P010 EXEC PGM=IKJEFT01,DYNAMNBR=20
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
//STEPLIB DD DSN=DB2.&SSID..&DB2VER..SDSNLOAD,DISP=SHR
//SYSTSPRT DD SYSOUT=&SOUT
//SYSPRINT DD SYSOUT=&SOUT
//SYSOUT DD SYSOUT=&SOUT
//DBRMLIB DD DSN=DB2.&SSID..DBRMLIB,DISP=SHR
//SYSTSIN DD DSN=DB2.&SSID..&DB2VER..CNTLCARD(DSN&SSID),DISP=SHR
// DD DSN=&MODE..KZ.CTLCARD(&MEMBER),DISP=SHR
// DD DDNAME=COMMANDS,DCB=BLKSIZE=80
// DD DSN=DB2.&SSID..&DB2VER..CNTLCARD(LIB&SSID),DISP=SHR
//*
The DD DSN=DB2.&SSID..&DB2VER..CNTLCARD(DSN&SSID) contains
DSN SYSTEM(KDP)
DSN=&MODE..KZ.CTLCARD(&MEMBER) contains
* DEFAULT COMMENT CARD
And DB2.&SSID..&DB2VER..CNTLCARD(LIB&SSID), contains
RUN PROGRAM(DSNTIAD) PLAN(DSNTIA10) -
LIB('DB2.KDP.V10R1M0.RUNLIB.LOAD')
LIB('DB2.KDP.V10R1M0.RUNLIB.LOAD')
==========================
I am unable to figure out what its trying to do
Can someone shed some light specialty what is meant by
DD DDNAME=COMMANDS,DCB=BLKSIZE=80