You can add a secondary index to an existing DEDB database
to process a segment type in a sequence other than the one defined
by the segment's key.
Procedure
- Modify the DBD definition for a DEDB primary database to
add secondary index information.
- Create a DBD definition for a Fast Path secondary index
database.
- Add the PROCSEQD= parameter with a Fast Path secondary
index DBD name in the PCB for the primary DEDB database that will
be accessed through the Fast Path secondary index database.
- Run the DBDGEN utility with the definitions with Fast Path
secondary index defined.
- Run the PSBGEN utility with the definitions with Fast Path
secondary index defined.
- Run the ACBGEN utility with the definitions with Fast Path
secondary index defined.
- For data-sharing Fast Path secondary index databases, register
the new Fast Path secondary index databases in DBRC.
- Change the access of the primary DEDB database to
Read
Only
or take the primary DEDB database offline in preparation
to build its Fast Path secondary index database.
- Build and load a Fast Path secondary index database. Use
a tool that is offered by IMS Tools
vendors.
- If you have not already done so, take the primary DEDB
database offline before performing an online change.
- Create a DMB directory entry (DDIR) for the new Fast Path
secondary index database. You can create the DDIR by one of the following
methods:
- Perform a MODBLKS system definition and use the ACBLIB online
change process.
- If you are using dynamic resource definition, issue the CREATE
DB command to create the DDIR for the new Fast Path secondary
index database and then perform an online change (ACBLIB online change
or member online change).
- Start the primary DEDB database and its Fast Path secondary
index database.
Both the primary DEDB database and its Fast Path secondary
index database are available for IMS online
access.