We’re trying to set up a batch job that will append a datestamp to a dataset name.
For example:
//S0 EXEC PGM=EMCSRDF
//SYSPRINT DD DSN=STRG.SRDF.INVTRKS.JUL09.@1408,
// STORCLAS=BASE,MGMTCLAS=MEDIUM,
// DISP=(,CATLG),
// SPACE=(TRK,(15,15),RLSE),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=0)
//SYSIN DD *
EMC-SQ VOL,44FA,INV_TRKS
/*
When we run this job, we hard code JUL09.@1408 to the end of the SYSPRINT dataset.
Is there a way to have the JCL automatically add the datestamp name? Any special techniques anyone can suggest?