A trigger is a set of actions that run automatically when a specified change or read operation is performed on a specified database file. You can define a set of trigger actions in any high-level language that is supported on the i5/OS® operating system.
The change operation can be an insert, update, or delete high-level language statement in an application program. The read operation can be a fetch, get, or read high-level language statement in an application program.
You can also use SQL triggers.
Related concepts
Database data protection and monitoring SQL triggers SQL programming