Enables run-time system error 048 ("Attempt to divide by zero")
Restriction: These switches are supported for native COBOL only.
Properties:
Default:
On
Type:
General
Comments:
A program compiled with CHECKDIV"COBOL370", CHECKDIV"ENTCOBOL", CHECKDIV"MVS", CHECKDIV"OS390", CHECKDIV"OSVS" or CHECKDIV"VSC2"
produces run-time error 048 (Attempt to divide by zero) upon an attempt to divide by zero. Setting this switch off (-O) disables
this error, causing the program to continue with undefined results. this switch has no effect on programs that were not compiled
with one of the above directive settings.
Comments:
A program compiled with CHECKDIV"COBOL370", CHECKDIV"ENTCOBOL", CHECKDIV"MVS", CHECKDIV"OS390", CHECKDIV"OSVS" or CHECKDIV"VSC2" produces run-time error 048 (Attempt to divide by zero) upon an attempt to divide by zero. Setting this switch off (-O) disables this error, causing the program to continue with undefined results. this switch has no effect on programs that were not compiled with one of the above directive settings.