Using a started task to generate unique output data set names

The job could also be run as a started task with this JCL.
Figure 1. Sample JCL to start a task

//DFDSS PROC
//DSS   EXEC  PGM=ADRDSSU
//DD1   DD UNIT=3480,VOL=SER=TAPE04,
//         LABEL=(1,SL),DISP=(NEW,CATLG),
//         DSN=BACKUP.A&LYYMMDD.A&LHHMMSS
//SYSPRINT DD SYSOUT=*
//SYSIN DD DSN=SYS1.SYSIN(DFDUMP),DISP=SHR

JES2 replaces the &LYYMMDD and &LHHMMSS with local date and time. Note that this works only if the job is started as a started task.


Information Information

Feedback


Timestamp icon Last updated: Friday, 29 November 2013


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///dwwig/dwwig000173.html