cobol3.hlp (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.
Message 0312 (↑ Syntax Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      0312
 
  Text:         Invalid arithmetic statement
 
  Explanation:  An arithmetic statement which you have used in the
                Procedure Division does not conform to the rules of COBOL
                syntax.  These statements must begin with an arithmetic
                verb (for example SUBTRACT or DIVIDE), followed by the
                relevant numeric literals or identifiers which the verb
                will act upon when the program is executed. The statement
                which you have specified is not a valid one.
 
  Resolution:   See your Language Reference for details of
                arithmetic statements. Ensure that the one you wish to use
                conforms to the relevant rules.
                                    -♦-