NUMPROC

Provides partial compatibility with the processing of invalid data on some non-IBM mainframe COBOL platforms. 1

Syntax:

>>-.---.-.-NUMPROC"option"----.----------------><
   +-/-+ +-NONUMPROC----------+

Parameters:

option
Can be one of:
AS400
Partial compatibility with the behavior of IBM AS/400 COBOL processing of invalid data in USAGE DISPLAY or COMP-3 data items.
ACOS
Partial compatibility with the behavior of NEC ACOS COBOL processing of invalid data in USAGE DISPLAY data items and invalid sign information in USAGE COMP-3 data items.

Properties:

Default: NONUMPROC
Phase: Syntax check
$SET: Initial

Dependencies:

NUMPROC"ACOS" sets SIGN"EBCDIC" and CHECKNUM.

If NUMPROC"ACOS" is specified with any of CHARSET"EBCDIC", HOSTNUMMOVE, HOSTNUMCOMPARE, SIGNFIXUP, or SPZERO, a severe checker error is produced (COBCH1266).

Comments:

The directives HOSTNUMMOVE, HOSTNUMCOMPARE and SIGN-FIXUP should be used to configure compatibility with the processing of invalid data by IBM Mainframe COBOL.

The CHECKDIV"ACOS" directive provides further ACOS mainframe compatibility.