//RunJCL JOB (xxx,YYYY),
// 'SELECT EMPLOYEE',
// CLASS=X,
// MSGCLASS=B,
// NOTIFY=&SYSUID,
// REGION=0K
//*
//**********************************************************************
//* mainframegurukul.COM - DB2 COBOL RUN JCL *
//**********************************************************************
//*
//STEP01 EXEC PGM=IKJEFT01,
// DYNAMNBR=20
//*
//STEPLIB DD DISP=SHR,
// DSN=SYSL.DB2.DEV.XXXXLOAD
// DD DISP=SHR,
// DSN=SYSL.DB2.DEV.XXXXYYYY
//*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(DEVDB)
RUN PROGRAM(DB2PROG) - <------- (1)
PLAN(PLAN11111) - <------- (2)
LIBRARY('DEV.SURESH.LOADLIB') <------- (3)
END
/*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
//*
(1) - Program name, which needs to be executed.
(2) - Plan name, corresponding plan name for the package that we
have used in compile jcl.
(3) - Program load module created in compile jcl. (refer point 5, in compile jcl )