UNDO-THROW-SCOPE attribute
- Last Updated: January 21, 2026
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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, THROW statement and the BLOCK-LEVEL ON ERROR UNDO, THROW statement override default error handling. The -undothrow startup parameter can also be used to override default error handling.
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.