ADDPFTRG (Add Physical File Trigger) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: Conditional; see Restrictions .-*LIBL/--------. >>-ADDPFTRG--FILE(--+---------------+--physical-file-name--)----> +-*CURLIB/------+ '-library-name/-' >--TRGTIME(--+-*BEFORE-+--)--TRGEVENT(--+-*INSERT-+--)----------> '-*AFTER--' +-*DELETE-+ +-*UPDATE-+ '-*READ---' .-*LIBL/--------. (1) >--PGM(--+---------------+--program-name--)---------------------> +-*CURLIB/------+ '-library-name/-' >--+---------------------------+--------------------------------> | .-*GEN---------. | '-TRG(--+-trigger-name-+--)-' >--+------------------------------+--+---------------------+----> | .-*FILE--------. | | .-*NO--. | '-TRGLIB(--+-*CURLIB------+--)-' '-RPLTRG--+-*YES-+--)-' '-library-name-' >--+------------------------+--+----------------------------+---> | .-*NO--. | | .-*ALWAYS-. | '-ALWREPCHG--+-*YES-+--)-' '-TRGUPDCND(--+-*CHANGE-+--)-' >--+--------------------------+---------------------------------> | .-*UNKNOWN-. | '-THDSAFE--+-*NO------+--)-' '-*YES-----' >--+---------------------------+------------------------------->< | .-*SYSVAL-. | '-MLTTHDACN--+-*MSG----+--)-' +-*NORUN--+ '-*RUN----'
Notes:
- All parameters preceding this point can be specified positionally.