Use the DSNUPD function of the CTTMUP utility to update data set record DSN.PRD01 with the correct number of volumes (VOLSNUM=3) and use the GRPBIX function to correct the index pointers for the multi-volume chain.
Figure 14 Sample JCL for the DSNUPD and GRPBIX Functions
//I600INDB JOB ,IOA600,MSGCLASS=X,CLASS=A
//* THIS JOB UPDATES THE MDB ACCORDING TO USER'S INPUT
//CTTMUP EXEC CTTMUP
//SYSIN DD *
TYPERUN MODE=NORMAL
DSNUPD DSVOLSER=PRD001,DSLABEL=1,DSNAME=DSN.PRD01,VOLSNUM=3
GRPBIX VOLSER=PRD001
/*
//
Parent Topic |