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 040 (↑ Code Generation Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      040
 
  Text:         Bad program-id or entry name
 
  Severity:     Recoverable
 
  Explanation:  The name you have given in the PROGRAM-ID clause or
                the ENTRY...USING phrase, or as the root of the input
                file-name, cannot be correctly handled by your system
                assembler.
 
  Resolution:   Change the name to comply with your operating system's
                rules for a function name.
                                    -♦-