External triggers

For an external trigger, the program containing the set of trigger actions can be defined in any supported high level language that creates a *PGM object.

The trigger program can have SQL embedded in it. To define an external trigger, you must create a trigger program and add it to a table using the ADDPFTRG CL command or you can add it using iSeries™ Navigator. To add a trigger to a table, you must:

Related information
Triggering automatic events in your database