Previous Topic: Special ConsiderationsNext Topic: REBUILD Command and Parameters


JCL - Rebuild Index

The ARCHVOLS and DSNINDEX records for data sets on an archive tape, or in an archive data set on disk, can be rebuilt by use of the following JCL:

//REBUILD EXEC REBUILD,DSN=ddd
//SYSIN DD *
REBUILD command and parameters are entered here

Note: The PROC symbolics could not support the 255 volumes and so were removed, thus JCL overrides must be used to specify the volume & unit information.

For Multiple Archive Volumes, use the following JCL:

//SYSIN    DD *                                   
  REBUILD                                         
/*                                                
//SYSPARMS DD *                                   
ARCVOLID$                                         
DYN2UNITVTAPE                                     
/*                                                
//ARCHIVES DD  DISP=OLD,DSN=&DSN,UNIT=VTAPE,      
//    VOL=SER=(251458,251495,251651,251739,251745,
//       253682,253690)                           
//