Previous Topic: Editing Trigger FunctionsNext Topic: Using Trigger Commands


Editing Trigger Parameters

When a new TRGFUN (Trigger Function) is created, the parameters are automatically derived from the based on file. If a database change occurs, however, it is necessary to visit the parameter details screen for the affected file. This automatically corrects the parameters for the function as shown in the following example. No other action is needed.

EDIT FUNCTION PARAMETER DETAILS <model name>

Function name. . : Trg fun - after, del Type : Trigger function

Received by file . : cat Acpth: Physical file

Parameter (file) . : cat Passed as: RCD

? Field Usage Role Flag error

cat code I MAP

cat date I MAP

cat status I MAP

SEL: Usage: I-Input, O-Output, B-Both, N-Neither, D-Drop.

Role: R-Restrict, M-Map, V-Vary length, P-Position. Error: E-Flag Error.

F3=Exit

Parameter ‘cat status’ has been added for this trigger function.