Reading Error Messages from COBCAT [ HP COBOL II/XL Reference Manual ] MPE/iX 5.0 Documentation
HP COBOL II/XL Reference Manual
Reading Error Messages from COBCAT
[REV BEG]
The file COBCAT.PUB.SYS contains the most current list of HP COBOL II
error messages.[REV END] Keep the following in mind when reading error
messages from COBCAT:
* The error messages appear on the same line number as the
corresponding error message numbers. For example, line number 23
contains the text for error message 23.
* A "$" in the left margin indicates a comment line containing
explanatory text.
* An "!" indicates that an item is place holder. The specific item
appears in the message text when the message is emitted by the
compiler.
* Numbers within brackets "[ ]" indicate the corresponding file
status codes for the run-time errors.
* When two items appear in brackets like this: {xxx/yyy}, the first
item (xxx) refers to the HP COBOL II/XL compiler and the second
item (yyy) refers to the HP COBOL II/V compiler.
Example
001 ILLEGAL CHARACTER IN COLUMN 7.
$ Only space, *, -, $, D, or / allowed.
NOTE All requests to "contact HP" in error messages should be
interpreted to mean "Please submit a service request (SR) and the
necessary source and object files to allow duplication of the
problem being reported." For more details, see the file named
COBCAT.PUB.SYS.
HP COBOL II error messages have been divided into seven categories:
Table A-1. Kinds of Error Messages
----------------------------------------------------------------------------------------------
| | | |
| Message | | |
| Number | Classification | Meaning |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| 1-99 | Warnings (W) | Something is incorrect in the code, but the |
| | | compiler can probably fix it to produce what |
| | | you intended. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| 100-399 | Questionable Errors (Q) | An error has occurred that will be fixed, but |
| | | the compiler probably will not produce what you |
| | | intended. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| 400-449 | Serious Errors (S) | The error is either too difficult or impossible |
| | | to fix. No code is generated. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| 450-499 | Disastrous Errors (D) | The error makes further processing risky or |
| | | impossible. All files are closed and |
| | | processing is stopped immediately.[REV BEG] |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| 500-539 | Nonstandard Warnings (N) | The program uses a construct that is not part |
| | | of ANSI COBOL'85 standard or is an obsolete or |
| | | incompatible feature. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| 540-899 | Run-Time Errors | These are errors that occur when your program |
| | | is executing. |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| 900-999 | Informational Messages | Other messages usually giving status after |
| | (I) | other errors.[REV END] |
| | | |
----------------------------------------------------------------------------------------------
MPE/iX 5.0 Documentation