11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

$ZUTIL(69,30)$ZUTIL(69,30)Sets error handling behavior system-wide.$ZUTIL(69,30,n)$ZU(69,30,n)ParametersnThe boolean value that specifies the system-wide default mode for error handlingbehavior.DescriptionUse $ZUTIL(69,30) to select either <strong>Caché</strong> error handling behavior, or DSM error handlingbehavior system-wide.When an error handler is invoked in <strong>Caché</strong>, that error handler remains on the stack of establishederror handlers. Therefore, if an error occurs when the error handler is executing, thaterror handler attempts to invoke itself, receives the same error again and enters an infiniteloop, unless that error handler explicitly sets $ZTRAP to a new value.When an error handler is invoked in DSM, the error handler is unwound from the stack.Therefore, if an error occurs while the error handler is executing, that error is handled by theprevious error handler on the stack.Invoking $ZUTIL(69,30) without specifying n returns the current switch setting.This error-handling option can be set for the current process by calling $ZUTIL(68,30).ParametersnA boolean switch that determines your system's error-handling behavior: 1 = Use Open M[DSM] error-handling behavior. 0 = Use <strong>Caché</strong> error-handling behavior. The default is <strong>Caché</strong>behavior.This configuration default cannot be changed using the System Management Portal. Setting$ZUTIL(69,30) overrides the system configuration default; it does not change the defaultsetting.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 663

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!