Previous Topic: Backing Up the TMC and Audit Data SetNext Topic: Restoring the TMC and Audit Data Set


Job Control Statements

//stepname EXEC PGM=TMSCOPY,
//             PARM='[DATEFMT=(fmt),]BACKUP'
//STEPLIB  DD  DSN=CAI.CTAPLINK,DISP=SHR
//TMSRPT   DD  SYSOUT=A
//DUMPDD   DD  DSN=CAI.CA1.TMCBKUP.TAPE1(+1),UNIT=TAPE,
//             [DCB=BLKSIZE=n*340,]FREE=CLOSE,               *NOTES
//             DISP=(NEW,CATLG,DELETE),LABEL=EXPDT=99000
//DUMPDD2  DD  DSN=CAI.CA1.TMCBKUP.TAPE2(+1),UNIT=TAPE,
//             DISP=(NEW,CATLG,DELETE),
//             [DCB=BLKSIZE=n*340,]FREE=CLOSE,               *NOTES
//             LABEL=EXPDT=99000
//AUDUMP   DD  DSN=CAI.CA1.AUDBKUP(+1),UNIT=TAPE,
//             DISP=(NEW,CATLG,DELETE),
//             [DCB=BLKSIZE=n*370,]FREE=CLOSE,               *NOTES
//             LABEL=EXPDT=99000
//AUDUMP2  DD  DSN=CAI.CA1.AUDBKUP2(+1),                     OPTIONAL
//             DISP=(NEW,CATLG,DELETE),
//             UNIT=TAPE,
//             [DCB=BLKSIZE=n*370,]FREE=CLOSE,                *NOTES
//             LABEL=EXPDT=99000

Notes:

Parameter Definitions

DATEFMT=(fmt)

Specifies the date format to be printed on TMS Report 31. 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.

BACKUP

Indicates the TMC and Audit data sets are to be backed up. This is the default.