Previous Topic: Report DescriptionNext Topic: TMS Report 24 - Exceptional Conditions Encountered During Processing


Job Control Statements

//TMSVMVLT EXEC PGM=TMSVMVLT
//STEPLIB  DD  DSN=CAI.CTAPLINK,
//             DISP=SHR
//TMSRPT   DD  SYSOUT=A                          <-- TMS REPORT 24
//VMSVPD   DD  DSN=&.&VMSVPD.,                     <-- FROM TMSVMEDT
//             DISP=(OLD,DELETE)
//VMSTMC00 DD  DSN=&.&VMSTMC2.,                    <-- FROM TMSVMEDT
//             DISP=(OLD,DELETE)
//VMSOUT   DD  DSN=CAI.CA1.VAULT,                <-- OUTPUT FOR
//             DISP=(NEW,CATLG),                     TMSVMUPD AND
//             UNIT=TAPE,                            CA-EARL
//             LABEL=RETPD=30                                   *NOTES
//VMSTMC01 DD  UNIT=SYSDA,SPACE=(CYL,(4,4))                     *NOTES
//VMSTMC02 DD  UNIT=SYSDA,SPACE=(CYL,(4,4))                     *NOTES
//VMSTMC03 DD  UNIT=SYSDA,SPACE=(CYL,(4,4))                     *NOTES
//SYSOUT   DD  SYSOUT=A
//SYSPRINT DD  SYSOUT=A
//SORTLIB  DD  DSN=SYS1.SORTLIB,
//             DISP=SHR
//SORTWK01 DD  UNIT=SYSDA,SPACE=(CYL,(2,2),,CONTIG)
//SORTWK02 DD  UNIT=SYSDA,SPACE=(CYL,(2,2),,CONTIG)
//SORTWK03 DD  UNIT=SYSDA,SPACE=(CYL,(2,2),,CONTIG)
//SORTWK04 DD  UNIT=SYSDA,SPACE=(CYL,(2,2),,CONTIG)
//SORTWK05 DD  UNIT=SYSDA,SPACE=(CYL,(2,2),,CONTIG)
//SORTWK06 DD  UNIT=SYSDA,SPACE=(CYL,(2,2),,CONTIG)

Notes:

Completion Codes

TMSVMVLT completion codes and their meanings are listed below.

0

No exceptions were encountered during processing.

4

A volume is removed from a vault because no pattern exists, or a pattern exists but the volume does not contain a vault name associated with the pattern and REDEFINED has not been specified. This code is also set if no volumes were processed for a given pattern or if the maximum number of slots for a vault are exceeded. This is the highest acceptable completion code.

8

Critical TMC fields were not initialized. See TMS Report 24 for the warning messages indicating which fields were not initialized.

12

Duplicate slot values were found in TMC records.

16

The vault pattern specified that the tape is to remain in the vault for a number of days from creation; however, the creation date of the tape is not valid.

or

The vault pattern specified that the tape is to remain in the vault until it expires; however, the expiration date of the tape is not valid or if the expiration date is LDATE/ddd, the LDATE is not valid.

or

the vault pattern specified that the tape is to remain in the vault for a number of days from the OUTDATE; however, the OUTDATE of the tape is not valid.

See the warning messages on TMS Report 24 for the fields which were not initialized.