Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CHECKDIV (↑ Choosing Run-time Behavior)
◄Key► ◄Details► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Directive: CHECKDIV
Function: Controls the behavior of your program if it tries to
divide by zero in a statement that has no ON SIZE ERROR
phrase.
Syntax:
►►─┬───┬─┬───────CHECKDIV─"dialect"───┬────►◄
└─/─┘ └┬────┬─CHECKDIV─────────────┘
└─NO─┘
Parameters: dialect Must be ANSI, OSVS, VSC2, or
COBOL370.
Default: CHECKDIV "ANSI"
Phase: Syntax check
$SET: Initial
-♦-