Previous Topic: TMSREMOV ProcedureNext Topic: Control Statement Specification


Job Control Statements

//stepname EXEC PGM=TMSREMOV[,PARM='DATEFMT=(fmt)']
//STEPLIB  DD  DSN=CAI.CTAPLINK,DISP=SHR
//TMSRPT   DD  SYSOUT=A
//OLDTMC   DD  DSN=OLD.TMC,DISP=SHR
//TMC      DD  DSN=NEW.TMC,DISP=SHR
//PURGDLST DD  SYSOUT=A
//PURGDVOL DD  DSN=CAI.CA1.PURGED.VOLUMES,
//             [DCB=BLKSIZE=n*340,]                           *NOTE
//             UNIT=TAPE,DISP=(NEW,KEEP)

Note: The BLKSIZE may be any multiple of the LRECL, which is 340. If no BLKSIZE is specified and the release of the operating system supports system determined blocksize, the operating system will select the blocksize. Otherwise the BLKSIZE for PURGDVOL defaults to 32640 for tape or 8840 for DASD devices.

Parameter Definitions

DATEFMT=(fmt)

Specifies the date format to be printed on TMS Reports 39 and 40. The date pattern indicated by (fmt) is limited to 10 bytes and must be enclosed in parentheses. This parameter is optional. For more information on valid date formats, see Overriding the Preferred Date Pattern.