Executing in Direct Mode |
Executing from the Shell ( |
|
---|---|---|
Usage |
Suitable for development and debugging. |
Suitable for production. |
Error Handler |
Not invoked for code entered at the direct mode prompt; Note that XECUTE code is treated as not entered at the direct mode prompt The default $ZTRAP="B" brings a process to the Direct Mode for debugging. |
Errors are suppressed and cause a silent process exit. Set the environment variable gtm_etrap which overrides the default $ZTRAP="B". If needed, error handlers can include appropriate error notification to $PRINCIPAL. For example, the gtmprofile script sets a default $ETRAP value of |
stderr |
GT.M processes send error messages to stderr only under the following conditions:
|
For more information, see Chapter 13: “Error Processing”.