cobol2.hlp (Table of Contents; Topic list)
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.
CHECKNUM Details (↑ Choosing Run-time Behavior)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Specifying this directive causes extra code to be generated to ensure
     that numeric fields contain valid data before any operations are
     performed on them. With CHECKNUM set, run-time error message 163
     (Illegal charcacter in numeric field (fatal)) is displayed if any
     numeric field is found to contain non-numeric data. This error can be
     disabled using the -F RTS switch.
 
     Specifying CHECKNUM causes extra code to be produced, reducing the
     efficiency of your programs. For smaller, faster code you should not
     specify CHECKNUM.
 
     See also -F RTS switch
                                    -♦-