Get only date from SORT and SORTIN as DD Dummy?
Posted: Tue Aug 13, 2013 6:31 pm
Hi,
I need to create one line file with system date and time. I tried using some HEADER1 parameters to get this, but when I execute the JOB, SORT JOB fails saying: why a DUMMY needs DCB?
The Job I used is:
I need to get the system date every day, is there a way out to achieve this without using any real SORTIN file?
I need to create one line file with system date and time. I tried using some HEADER1 parameters to get this, but when I execute the JOB, SORT JOB fails saying:
Code: Select all
SORTIN DCB RECFM REQUIRED
The Job I used is:
Code: Select all
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DUMMY
//SORTOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY
HEADER1=(DATE)
/*