Example 1
ON DATASET=BKP*
DO VAULT=V1
UNTIL CYCLES 0010 PREFIX Y
There are five versions of file BKP001.
There are three versions of file BKPACCT.
There are two versions of file BKP.
If another version of any of these files is created, they will have exceeded their vault retention period (ten cycles) and the oldest volume is moved to the next vault.
Example 2
ON DATASET=BKP*
DO VAULT=V1
UNTIL CYCLES 0010 PREFIX N
If another version of any of these files is created, their individual counts will not have exceeded their vault retention period (ten cycles). Therefore, no volumes are moved.
Example 3
Set vault patterns for accounting department volumes. The volumes should remain in the active library (MAINLIB) until 01/01/00, after that the volumes are transferred to the accounting vault permanently.
Figure 181 DO VAULT Parameter – Example 3
RULE: VAULTVOL LIB CTT.PROD.RULES TABLE: ACC0003
COMMAND ===> SCROLL===> CRSR
-------------------------------------------------------------------------------
RULE NAME VAULTVOL GROUP ACCOUNTING MODE PROD (Prod/Test)
OWNER M43A SEQUENCE PRIORITY 01 CONTINUE SEARCH Y (Y/N)
DESCRIPTION THIS RULE VAULTS VOLUMES ACC001-ACC200 AT YEAR-END. THESE
DESCRIPTION VOLUMES ARE RETAINED PERMANENTLY IN THE VAULT.
DESCRIPTION
DOCMEM CTTDOCS DOCLIB CTT.PROD.DOCS
===========================================================================
DOC
===========================================================================
ON DATASET = ACC* And/Or/Not A
ON VOLSER = ACC001 TO ACC200 And/Or/Not
===========================================================================
DO VAULT = MAINLIB BY BOX (Y/N)
UNTIL = DATE 0101 YEAR 2000 And/Or
VAULT = VLT-ACC
UNTIL PERMANENT And/Or
VAULT =
DO
===========================================================================
===========================================================================
FILL IN RULE DEFINITION. CMDS: EDIT, SHPF, DOC, SCHED, DOOPT, ONOPT 15.49.41
Parent Topic |