Previous Topic

Next Topic

Book Contents

Book Index

CTTVTM Example 1

Vault management is performed according to the current vault pattern specifications in the Media database. Report DISTRIB is printed, listing the MEDIA, VOLSER, VOLSEQ, FROMLOC and TOLOC fields.

//EXEC   CTTVTM

//SYSIN  DD *

    TYPERUN MODE=NORMAL

    TYPEVLT MODE=REGULAR

    REPORT NAME=DISTRIB

    FIELDS MEDIA,VOLSER,VOLSEQ,FROMLOC,TOLOC

    SORTBY FROMLOC/B,TOLOC,VOLSER

//

The report is sorted according to the location from which each volume is being moved (FROMLOC). The report is then sorted according to the destination (TOLOC) and the volser name (VOLSER). A page break is inserted after each FROMLOC location listed in the report (meaning, each group of volumes from a specific location begins a new page).

Parent Topic

Examples for CTTVTM