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, 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. 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.