Rebuild a chain of two volumes. The first volume, PRD001, has two data sets on it. The second data set reached the end of the first volume and continued on the second volume, PRD002.
//JOB NAME JOB ....
|
//CTTMUP EXEC CTTMUP
|
//SYSIN DD *
|
TYPERUN MODE=NORMAL,RULEINFO=YES,CHECK=NO
|
VOLUPD VOLSER=PRD001,VOLSTAT=ACTIVE,VOLSEQ=1,
ACTIVEDS=2,LBLNUM=2,MEDIA=3490,
LOCATION=MAINLIB,FIRSTVOL=PRD001,
|
NEXTVOL=PRD002,PREVVOL=
|
VOLUPD VOLSER=PRD002,VOLSTAT=ACTIVE,VOLSEQ=2,
ACTIVEDS=1,LBLNUM=2,MEDIA=3490,
LOCATION=MAINLIB,FIRSTVOL=PRD001,
|
NEXTVOL=,PREVVOL=PRD001
|
DSNADD DSVOLSER=PRD001,DSLABEL=1,
DSNAME=PROD.BACKUP.G0001V00,VOLSNUM=1
|
DSNADD DSVOLSER=PRD001,DSLABEL=2,
DSNAME=PROD.BACKUP.G0002V00,VOLSNUM=2
|
//
|