Page 1 of 1

Define and DELETE restart file.

Posted: Thu Oct 15, 2015 9:55 pm
by Riya Das
Hi,

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) 
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?

Re: Define and DELETE restart file.

Posted: Fri Oct 16, 2015 1:25 pm
by William Collins
How else do you feel they should be coded?