NUMCLS
NUMCLS, in conjunction with NUMPROC, affects the numeric signs that the compiler treats as valid in numeric class tests.
NUMCLS specifies the sign representations that are
recognized as valid by the numeric class test for data items that
are defined with all of the following conditions:
- As signed (with an
S
in the PICTURE clause) - Using DISPLAY or COMPUTATIONAL-3 (packed-decimal)
- No SEPARATE phrase on any SIGN clause
- Default
- NUMCLS=PRIM
- ALT
- Processing with ALT accepts hexadecimal A through F as valid.
- PRIM
- Processing with PRIM accepts hexadecimal C, D, and F as valid.
Note:
- The numeric class test is affected by how the NUMPROC and the NUMCLS options are specified.
- The NUMCLS option is effective only for NUMPROC=NOPFD. NUMPROC=PFD specifies more strict rules for valid sign configuration.