Previous Topic: Install RI TriggersNext Topic: Install Regenerated RI Triggers


Regenerate RI Triggers

Follow these steps:

  1. Display the Application System Regeneration menu.
  2. Type 5 for Referential integrity triggers, if you know that the RI triggers require regeneration. Press Enter.

    The Referential Integrity Processing Options panel displays.

    If the RI triggers require regeneration, CA Gen automatically displays the Referential Integrity Processing Options panel. Regenerate RI triggers before regenerating a business system or components.

    Intelligent Regeneration cannot detect the changes to the DBMS type for RI triggers, even when you select No for the Ignore Target Environment Parameter Changes option. The RI trigger environment parameters are stored in the ISPF environment variables, not in the model. If the DBMS type changed for RI triggers, generate and install the RI triggers using the Application System Construction tools, that is, the regular generation tools.

    Intelligent Regeneration detects the changes to the Dynamically Link RI Triggers option and RI Trigger Name when you select No for Ignore Target Environment Parameter Changes option. However, Intelligent Regeneration marks all RI triggers as requiring regeneration and reinstallation, even though the RI target parameters do not require regeneration in this case. Intelligent Regeneration compares RI trigger module generation date and time with the RI target parameters change date and time when deciding to regenerate.

    To avoid regenerating RI trigger modules, install RI triggers using the Application System Construction tools, that is, the regular installation tools, after modifying RI target parameters Dynamically Link RI Triggers option and RI Trigger Name.

  3. Type a slash character (/) next to the options to enable and press Enter.

    The Referential Integrity Trigger Generation Confirmation panel displays.

  4. Press Enter to begin regeneration. Press Cancel if you do not want to regenerate the RI triggers now.

    If you cancel processing, the Business System Regeneration panel displays.

    If you chose foreground processing, the Generation Status panel displays.

    The Generation Status panel displays messages that track regeneration progress.

  5. Press Enter to exit the Generation Status panel when generation is complete.

    If you selected background processing, the Update JCL for Background Code Generation panel displays.

  6. Type changes to your Job card and press Enter.

More information:

Regenerate Referential Integrity Triggers