How to view a Trigger Definition in AS400

Xombeh picture Xombeh · Oct 8, 2014 · Viewed 9.7k times · Source

I have been trying to view the Trigger Definition for a trigger for AS400, and can't seem to find the command to help me do it. I can list the triggers out, create or remove them, but how do I view the trigger definition.

Answer

David G picture David G · Oct 8, 2014

DSPFD FILE(LIB/FILE) TYPE(*TRG) will get you the basic information on what program is invoked and when a trigger fires.