Previous Topic: Vault Pattern Example 3 - Vaulting by Data Set Name with Index (-) and SEPDSNNext Topic: Vault Pattern Example 5 - REDEFINED Vault Patterns


Vault Pattern Example 4 - Vaulting by Data Set Name with SEPJOB

The pattern is defined as follows:

VAULTS=SAFE
DSN=PAYROLL.DATA,SEPJOB
V=SAFE,C=1

The data sets processed are:

VOLSER

Data Set Name

CDATE

CJOB

OUTCODE

000001

PAYROLL.DATA

95050

PDALY

----

000002

PAYROLL.DATA

95051

PDALY

SAFE

000003

PAYROLL.DATA

95045

PWKLY

----

000004

PAYROLL.DATA

95052

PWKLY

SAFE

When more than one job can create a vaultable data set, SEPJOB may be used to qualify the vaulting by creating job name. In this example, jobs PDALY and PWKLY create the data set PAYROLL.DATA; VMS maintains separate cycles for each.

This is the same as coding:

VAULTS=SAFE
DSN=PAYROLL.DATA,JOB=PDALY
DSN=PAYROLL.DATA,JOB=PWKLY
V=SAFE,C=1