Considerations for HALDBs

When the input database is a HALDB and a partition selection exit is used, complete the following steps:

  1. Store the partition selection exit routine defined to the RECON data set in a STEPLIB data set.
  2. Store the partition selection exit routine specified by the CTL statement in the IMS2 data set.
The original partition selection exit in the STEPLIB is invoked in the following sequence:
  1. Invoked with the INIT parameter
  2. Invoked with the FIRST parameter
  3. Invoked with the NEXT parameter
If the partition selection exit or the partition selection string is specified in the CTL statement, the original partition selection exit is invoked with the TERM parameter. Then the partition selection exit in the IMS2 is invoked.