FALSE

Page Nav

HIDE

Grid

GRID_STYLE

The BLDINDEX Command

The BLDINDEX command loads alternate key records into the alternate index cluster after extracting them from the base cluster.   The base cl...

The BLDINDEX command loads alternate key records into the alternate index cluster after extracting them from the base cluster.  The base cluster must contain records.

//TRGI01A  JOB  MSGCLASS=X,CLASS=I,REGION=1M,NOTIFY=TRGI01
//DEFAIX2  EXEC  PGM=IDCAMS
//SYSPRINT DD    SYSOUT=A
//SYSIN DD  *
     BLDINDEX    -
     INFILE(DDname) / INDATASET('Dataset name(ESDS or KSDS)')   -
     OUTFILE(DDname) / OUTDATASET('Dataset name(AIX name)') -
/*
//
Input dataset is the base cluster and output dataset is the alternate index.

No comments