Previous Topic: Vault Pattern Example 2 - Vaulting by Data Set Name with Index (-)Next Topic: Vault Pattern Example 4 - Vaulting by Data Set Name with SEPJOB


Vault Pattern Example 3 - Vaulting by Data Set Name with Index (-) and SEPDSN

The pattern is defined as follows:

VAULTS=SAFE
DSN=PAYROLL.DAILY-,SEPDSN
V=SAFE,C=1

The data sets processed are:

VOLSER

Data Set Name

CDATE

OUTCODE

000001

PAYROLL.DAILY1

95050

SAFE

000002

PAYROLL.DAILY2

95051

SAFE

000003

PAYROLL.DAILY3

95052

SAFE

Because SEPDSN is specified, VMS considers the explicit DSN under the character string and applies the movement to each DSN. This is the same movement as when the VPD read:

VAULTS=SAFE
DSN=PAYROLL.DAILY1
DSN=PAYROLL.DAILY2
DSN=PAYROLL.DAILY3
V=SAFE,C=1