Hi Robert,
The below is the exact codes for my JCL. Please have a look once and kindly let me know if you see any thing wrong, or anything can be done ina better way
//SAMPLE4 JOB (DFB0000,EBS),CLASS=H,MSGCLASS=X,MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//PARMLIB INCLUDE MEMBER=#PARMLIB
//JOBLIB INCLUDE MEMBER=#JOBLIB
//*
// INCLUDE MEMBER=IDFSINIL
//*
//*---------------------------------------------------------
//* DELETE DATASETS
//*---------------------------------------------------------
//STEP010 EXEC PGM=IEFBR14
//DD01 DD DSN=SAMPLE.OUTPUT1.R100,
// DISP=(MOD,DELETE,DELETE),
// SPACE=(TRK,0)
//DD02 DD DSN=SAMPLE.SPOOL.R100,
// DISP=(MOD,DELETE,DELETE),
// SPACE=(TRK,0)
//*---------------------------------------------------------
//STEP020 EXEC PGM=SAMPLPGM,COND=(0,NE)
//PGMLIST INCLUDE MEMBER=IDFINC99
//IN1 DD DSN=SAMPLE.ALTKSD,DISP=SHR
//IN2 DD DSN=SAMPLE.INPUT1.R100,DISP=SHR
//IN11 DD DSN=SAMPLE.ALTKSD.PATH,DISP=SHR
//OUT1 DD DSN=SAMPLE.OUTPUT1.R100,
// DISP=(NEW,CATLG,DELETE),
// DCB=(RECFM=FB,LRECL=65,BLKSIZE=0),
// UNIT=SYSDA,
// SPACE=(TRK,(15,40),RLSE)
//PRNTFIL1 DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD DSN=SAMPLE.SPOOL.R100,
// DISP=(MOD,CATLG,CATLG),
// DCB=(RECFM=FB,LRECL=133,BLKSIZE=0),
// UNIT=SYSDA,
// SPACE=(TRK,(15,40),RLSE)
//SYSUDUMP DD SYSOUT=*
//SYSSNAP DD SYSOUT=*
//*
thanks a ton for giving your time & concern!