$ZTRIgger()

Examine or load trigger definition. The format of the $ZTRIGGER() function is:

$ZTRIgger(expr1[,expr2]) 

Examples of $ZTRIGGER()

GTM>set X=$ztrigger("S")
GTM>

This example displays the current trigger definitions stored in the database.

GTM>set X=$ztrigger("i","+^Acct(sub=:) -command=set -xecute=""set ^X($ztvalue)=sub""")
GTM>

This example adds a trigger definition for the first level node of ^Acct.