EDH - Analyze triggers (EDHTRGANZ)
Type choices, press Enter
Libraries . . . . . . . . . ___________ Name, generic*, *ALL, *ENV Action for triggers . . . . *PRINT *PRINT, *CHKPGM, *ENABLED |
The analysis can be done by library name (with generic names) or for all the libraries of an environment.
Using the setting *ENV, two others settings are displayed to choose the environment, either *SND or *RCV.
The batch job EDHTRGANZ is submitted:
Two spools files are produced:
A detailed list, with reference ** LISTTRG
A synthesis list, with reference ** LISTTRG
Option *PRINT allows you to compare the source and target systems, for example; this comparison is valid only if you take into account the omissions done in the settings.
The option *CHKPGM allows you to check if the programs attached to the triggers are present.
Missing programs are located in a third spool, with reference ** ERRCST.
In case of missing programs, you will have to synchronize them or use the IOA function (verify audit).
If the option *ENABLED is used, triggers are activated. When this operation fails, a third spool is produced, which references the code ** ERRCST.
Options *CHKPGM and *ENABLED are made to be used on target system.
Assure QuickEDD HA deactivates the triggers (except for system triggers) during replication and reactivates them at the time of the switch.
You can also plan to run this command using the option *ENABLED once a week so that the switch process be as fast as possible.