Previous Topic

Next Topic

Book Contents

Book Index

Creation of Alternative Index Component
  1. Define the alternative index in the DEFALTI member of the IOA INSTWORK library.
  2. Define the alternative index files in the DEF’s members for Active, History, and Migrated User files of the IOA INSTWORK library.

    Note: The index key length defined in the KEYLEN field of the DEF’s members should be equal to the sum of the key’s length defined in DEFALTI member +8. If MUF partitions are used, the alternative index files should be created for all MUF partitions.

  3. Use the CTDUFDBF job in the Control-D JCL library with parameter FUNC=INIT to allocate and format new alternative index files for Active, History, Migrated User files, and Migrated User files partitions.
  4. Stop all Control-D monitors, Control-D Applications, IOA Archive Server monitors, and IOA online sessions.
  5. Update the IOADSNL, ALCCTDJB, ALCCTD, ALCCTVJB, ALCCTV, and ALCDOLV members in the IOA PARM library, in accordance with the new alternative index files.

    Note: If the IOADSNL, ALCCTDJB, ALCCTD, ALCCTVJB, ALCDOLV, and ALCCTV members do not exist in the IOA PARM library, copy the ALCCTDJB, ALCCTD, ALCCTVJB, ALCCTV, ALCDOLV, and IOADSN members from the IOA IOAENV library to the IOA PARM library. Then rename the IOADSN member to IOADSNL.

    To change the IOADSNL, ALCCTDJB, ALCCTD, ALCCTVJB, ALCCTV, and ALCDOLV members in the IOA PARM library:

    1. Add the following lines in the IOADSNL member:

      DATASET DA&FILE&ALT,

              SEQ=1,

              DD=DA&FILE&ALT,

              DSN=%DBPREFD%.&DBTYPE.&ALT.E000

      In this step, &FILE is changed to a specifically used Data Component, &DBTYPE is changed to a specifically used qualifier, and &ALT is changed to an alternative index letter that is defined in the ALT statement of the DEFALTI member. Separate DATASET statements should be defined for each Active, History, and Migrated User files, and Migrated User file partitions.

      For example:

      DATASET DAACTJ,

              SEQ=1,

              DD=DAACTJ,

              DSN=%DBPREFD%.ACTJ.E000

    2. Add the following line to the ALCCTDJB, ALCCTD, ALCCTVJB, ALCCTV, and ALCDOLV members:

      KEY=DA&FILE&ALT

      In this step, &FILE is to be changed to a specifically used Data Component, and &ALT is to be changed to a alternative index letter that is defined in the ALT statement of the DEFALTI member, A separate KEY statement should be defined for each Active, History, and Migrated User files, and Migrated User file partitions.

      For example:

      KEY=DAACTJ

  6. Activate alternative index using CTDUFANX utility with parameter FUNC=ADD for each user file.
  7. Build alternative indexes using the CTDDIB utility with parameter ALT=ONLY for each user file.
  8. Start all Control-D monitors, Control-D applications, IOA Archive Server monitors, and IOA online sessions.

Parent Topic

CTDUFANX – Activate or Deactivate Alternative Index Components of a User Report List File