Invokes all triggers with signatures matching the global variable name and the command type of ZTR[IGGER]. The format of the ZTRIGGER command is:
ZTRIGGER allows an application to invoke triggers without a specific global update.
ZTRIGGER actions are Atomic whether they are executed inside or outside a TP transaction; but inside TP they remain process-private until the TCOMMIT of the full transaction. ZTRIGGER might be associated with a series of updates grouped into a TP transaction or to perform an implicit transaction without a TSTART/TCOMMIT.
A ZTRIGGER operation sets $ZTRIGGEROP to ZTR.
GTM>write $ztrigger("S") ;trigger name: C#1# cycle: 1 +^C -commands=ZTR -xecute="write ""ZTR trigger invoked""" 1 GTM>ztrigger ^C ZTR trigger invoked GTM>