This is similar to the DATA-RANGE keyword except that value defines the range of characters that generate default exception handling. A key whose ASCII value falls within that range will terminate input with an exception condition value which matches the ASCII value of the key. That value is returned in the EXCEPTION clause or the CONTROL KEY clause of the ACCEPT statement. The default range is 1,31. A character in this range that is also defined by a KEYSTROKE variable acts as defined by that KEYSTROKE variable, and may or may not terminate the input. The configuration variables KBD_EXCEPTION_RANGE_HIGH and KBD_EXCEPTION_RANGE_LOW may also be used to set this value.

Note: If the same number(s) is included in both the DATA-RANGE and EXCEPTION-RANGE, then DATA-RANGE takes precedence.