Syntax rules
The CLASS clause enables the user to associate a name with the character set defined in this clause. This class-name may be referenced in a class condition only. Characters specified by the values of literal-4, literal-5, ... form the exclusive character set named by class-name.
The value of each literal specifies:
The ordinal number of a character in the alphanumeric native character set, if the literal is numeric.
The actual character in the native character set, if the literal is alphanumeric. If the value of this literal contains more than one character, each of these characters is included in the character set named by class-name.
If THROUGH is specified, the contiguous characters in the native character set beginning with literal-4 and ending with literal-5 are included in the special character set identified by class-name. The THROUGH phrase may be used to specify this character string in either ascending or descending order.
Example 6-13
SPECIAL-NAMES. CLASS HEXADECIMAL-CHARACTERS 194 THRU 199, 241 THRU 250.
194 through 199 corresponds to the letters A through F
241 through 250 corresponds to the digits 0 through 9