SUBSCRIPTRANGE condition

A program-checkout condition indicating that a subscript is determined to lie outside its specified bounds.

Enabled/Disabled status

Always disabled.

Result

The value of the invalid subscript and its reference are both undefined.

Raised

When a subscript is evaluated and found to lie outside its specified bounds.

Note

The order of raising SUBSCRIPTRANGE relative to evaluation of other subscripts is undefined.

Other Information

Abbreviation
SUBRG
Condition code
520
Implicit action
Prints a message and raises the ERROR condition.
Normal return
Raises the ERROR condition.