Define and DELETE restart file.
Posted: Thu Oct 15, 2015 9:55 pm
Hi,
In most of the JCL, I usually observed that they have coded files like this -
restart files are cataloged and at the end they are deleted, please let me know why do we code them this way? What is the benefit?
In most of the JCL, I usually observed that they have coded files like this -
Code: Select all
//**************************************************
//** RESTART FILE
//**************************************************
//STEP01 EXEC PGM=IEFBR14
//DDPRO1 DD DSN=&PROD..ESPN.RESTART.DD99N,
// DISP=(,CATLG,DELETE),
// SPACE=(TRK,(2)),VOL=REF=(PROD.RSTRT)
//*********************************************************************
//** DELETE RESTART FILE **
//*********************************************************************
//STEP99 EXEC PGM=IEFBR14,COND=(0,LT)
//DDPRO1 DD DSN=&PROD..ESPN.RESTART.DD99N, ,DISP=(MOD,DELETE)