Trigger

This document covers the following topics:


Trigger Maintenance

The Trigger Maintenance Menu is called with the command MAINTAIN TRIGGER.

Overview of Functions and Commands

Function Code Command
Add a trigger A ADD TRIGGER
Copy trigger C COPY TRIGGER
Modify trigger M MODIFY TRIGGER
Rename trigger N RENAME TRIGGER
Purge trigger P PURGE TRIGGER
Display trigger D DISPLAY TRIGGER
Link children L LINK TRIGGER <active-association-type>
Edit owners of a trigger O EDIT TRIGGER OWNER
Select trigger from a list S SELECT TRIGGER
Edit description W EDIT TRIGGER DESCRIPTION
Edit Trigger code Y EDIT TRIGGER TRIGGER

Parameters

Keyword Field Position
ID Trigger ID 1
<> Copy ID 2

Trigger-specific Maintenance Commands

EDIT TRIGGER TRIGGER<trigger-ID> Invokes the Trigger code Editor, a modified Natural Editor used to edit the Trigger code.

Trigger Retrieval

The Trigger Retrieval Menu is called with the command RETRIEVE TRIGGER.

Overview of Functions and Commands

Retrieval Type Code Default
Output
Mode
Command
Triggers D D DISPLAY TRIGGER
L LIST TRIGGER
S SELECT TRIGGER
D SHOW TRIGGER
Execute retrieval models E T EXECMODEL TRIGGER
Dummy/Placeholder trigger C L DUMMY TRIGGER <passive-association-type>
Trigger with parents B D PARENTS TRIGGER <passive-association-type>
Trigger with no parent O L FREE TRIGGER ANY | ALL | <passive-association-type>
Trigger with children T D CHILDREN TRIGGER <active-association-type>
Trigger with no child U L EMPTY TRIGGER ANY | ALL | <active-association-type>

Parameters

Keyword Field Position
ID Trigger ID 1
PARENT Triggers FI 2
RES Restrictions 3
OUT Output options 4
MODEL Model 5
MODE Output mode 6

Trigger-specific Retrieval Commands

Trigger objects are processed with Standard Retrieval Commands.