Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : UNDO-THROW-SCOPE attribute
 

UNDO-THROW-SCOPE attribute

Indicates if UNDO, THROW has been set as the default error handling directive at either the routine level or the block level.
Data type: CHARACTER
Access: Read-only
Applies to: RCODE-INFO handle
The ROUTINE-LEVEL ON ERROR UNDO, THROWstatement and the BLOCK-LEVEL ON ERROR UNDO, THROWstatement override default error handling. The -undothrow startup parameter can also be used to override default error handling. See the OpenEdge Deployment: Startup Command and Parameter Reference for more information about -undothrow.
This attribute returns "ROUTINE-LEVEL", or "BLOCK-LEVEL" to indicate which blocks are affected by UNDO, THROW error handling. It returns the empty string ("") when default error handling is in effect.