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 1015 (↑ Syntax Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      1015
 
  Text:         OCCURS integer-1 exceeds OCCURS integer-2.  0 is
                assumed for integer-1
 
  Explanation:  You have included the OCCURS integer-1 TO integer-2
                DEPENDING clause in your source code, but the value
                given for integer-1 is greater than that for
                integer-2, which is against the rules of COBOL syntax.
                Your COBOL system has effectively changed the value of
                integer-1 to 0.
                                    -♦-