Previous Topic: Dual Primary Volume Details by FunctionNext Topic: Restore/FMS Recover/Auto Restore


Archive/Backup

Dual Primary Volumes are created when specifying the following statement in the DSCL:

SET  PRIMARY2

When SET PRIMARY2 is specified, a P1 and P2 DSNINDEX record is created for each data set processed, and a P1 and P2 ARCHVOLS record is created for each respective output volume.

The Primary2 Volume data set name and unit information are taken from the ARCCNAME and ARCCTYPE sysparms.

Different expiration dates can be applied to the P1 and P2 DSNINDEX and ARCHVOLS records. The P1 DSNINDEX and ARCHVOLS records can have expiration dates that are greater than, less than or equal to the P2 records expiration dates.

For SMS data sets, if the Management Class is present and not overridden (for example, sysparm SMSMCBYP is set to N or B), the RETPD/EXPDT and RETPD2/EXPDT2 parameters are ignored and the expiration date of the P1 and P2 DSNINDEX records is set to 99365. Those P1 and P2 DSNINDEX records continue to be managed using DFSMS and cannot be managed separately.

The P1 and P2 ARCHVOLS records can be assigned different expiration dates:

Here is an example of using the new parameters and the results:

SET PRIMARY2
SCAN REALVOLS
BACKUP RETPD=30,RETPD2=15

Sysparms:

DYNEXPDTE99365

The P1 DSNINDEX records expire in 30 days.
The P1 ARCHVOLS record does not expire until all of its DSNINDEX records have been deleted.
The P2 DSNINDEX records expire in 15 days.
The P2 ARCHVOLS record does not expire until all of its DSNINDEX records have been deleted.

Here are more examples of creating Dual Primary Volumes and retention periods:

Command (Today=2000.325, RETRETPD=30)

P1 DSN EXPDT

P2 DSN EXPDT

BACKUP

2000.355

2000.355

BACKUP RETPD=5

2000.330

2000.330

BACKUP RETPD2=5

2000.355

2000.330

BACKUP RETPD=5,RETPD2=10

2000.330

2000.335

BACKUP EXPDT=2000.360

2000.360

2000.360

BACKUP EXPDT2=2000.364

2000.355

2000.364

BACKUP EXPDT=2000.360,EXPDT2=2000.364

2000.360

2000.364