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 0302 (↑ Syntax Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      0302
 
  Text:         IF....ELSE or scope-delimiter mismatch
 
  Explanation:  There is an error in your coding of an IF statement
                in the Procedure Division of your program. The two halves
                of one IF statement do not match.
 
                Alternatively, you have made an error in coding a construct
                that uses one of the scope delimiters (for example,
                END-ADD). There is a mismatch between the number of scope
                delimiters and the statements whose scope they delimit.
 
 
  Resolution:   Ensure you do not have more ELSE phrases than IF
                phrases.
 
                Revise your source code.
                                    -♦-