$ZQuit
$ZQuit
$ZQUIT indicates whether the functionality associated with the gtm_zquit_anyway environment variable is enabled. If the environment variable gtm_zquit_anyway is defined and evaluates to 1 or any case-independent string or leading substrings of “TRUE” or “YES”, GT.M sets $ZQUIT to 1 and executes code of the form QUIT <expr< as if it were SET
If gtm_zquit_anyway is not defined or evaluates to 0 or any case-independent string or leading substrings of “FALSE” or “NO”, GT.M set $ZQUIT to 0 executes QUIT
GTM>zprint ^rtnasfunc
rtnasfunc(expr1)
write "Hello ",expr1,!
quitWhen the gtm_zquit_anyway functionality is diabled, extrinsic function invocations return an error as per the standard.
GTM>write $zquit
0
GTM>write $$^rtnasfunc("jdoe")
Hello jdoe
%GTM-E-QUITARGREQD, Quit from an extrinsic must have an argumentHowever, if you enable the gtm_zquit_anyway feature, extrinsic function invocations do not return an error.
GTM>write $zquit
1
GTM>write $$^rtnasfunc("jdoe")
Hello jdoe
GTM>