Triggers and their relationship to CL commands

 

Triggers interact with CL commands in several ways.

Save/Restore Base File (SAVOBJ/RSTOBJ)

Save/Restore Trigger Program (SAVOBJ/RSTOBJ)

Delete File (DLTF)

Copy File (CPYF)

Create Duplicate Object (CRTDUPOBJ)

If TRG(*NO) is specified, triggers will not be duplicated in the new file. If TRG(*YES) is specified, triggers will be duplicated. The following rules describe how triggers are duplicated:

Clear Physical File Member (CLRPFM)

Initialize Physical File Member (INZPFM)

FORTRAN Force-End-Of-Data (FEOD)

Apply Journaled Changes or Remove Journaled Changes (APYJRNCHG/RMVJRNCHG)

 

Parent topic:

Triggering automatic events in your database