Building HALDB partition ILDS

PHIDAM HALDB partition ILDSs are rebuilt in an analogous way as building primary indexes. ILDS of all or selected partitions can be rebuilt.

About this task

Sequential scan is performed by partition and the ILDSs are loaded as soon as the partition scan completes.

The indexes to be built must be either reusable or deleted/defined by IDCAMS. Because IMS™ Index Builder rebuilds indexes in VSAM load mode by the control interval (CI), the free space value in the DEFINE CLUSTER command must be low.

Procedure

To build a HALDB partition ILDS, define the JCL using the following example.
Figure 1. Building HALDB partition ILDS
//IIUBBLD  JOB &SYSUID,MSGCLASS=H,REGION=233M,TIME=1339,
//             RESTART=*,CLASS=A,NOTIFY=&SYSUID
//*********************************************************************
//*    Building Partition ILDS with IMS IB V3 R1             IIUSMP09 *
//*********************************************************************
//* Provide values for the following variables:
// SET SIIULMOD=                          Index Builder load library
// SET SHKTLOAD=                          ITKB load library
// SET   RESLIB=                          IMS RESLIB
// SET   MDALIB=                          IMS MDALIB
// SET   DBDLIB=                          DBD library
// SET   RECON1=                          Recon1 data set name
// SET   RECON2=                          Recon2 data set name
// SET   RECON3=                          Recon3 data set name
//* NOTE: The Index Builder load library and all other datasets
//*       concatenated to STEPLIB must be APF authorized.
//*********************************************************************
//IIUBSCN  EXEC PGM=IIUSTART
//STEPLIB  DD  DISP=SHR,DSN=&SIIULMOD
//         DD  DISP=SHR,DSN=&SHKTLOAD
//         DD  DISP=SHR,DSN=&RESLIB
//         DD  DISP=SHR,DSN=&MDALIB
//IMS      DD  DISP=SHR,DSN=&DBDLIB
//RECON1   DD  DISP=SHR,DSN=&RECON1
//RECON2   DD  DISP=SHR,DSN=&RECON2
//RECON3   DD  DISP=SHR,DSN=&RECON3
//IIUPRINT DD  SYSOUT=*
//IIUCAPT  DD  SYSOUT=*
//IIUSNAP  DD  SYSOUT=*
//IIUSOUT  DD  SYSOUT=*
//IIUIN    DD  *
  PROC     BLD_ILDS,TESTDBH2
  INPUT    IBSCAN,DBRC=Y
/*
//