The following shows the message format:
message-number line-number message-text
Message-number
Message number is displayed in the format:
JMNnnnnI-S
JMN : Prefix indicates a COBOL compiler message.
nnnn : Message serial number.
I : Indicates that operator response is not required.
S : Indicates the severity code.
Meanings of severity codes are explained in the table below.
Line-number
The line number of the line containing an error is displayed. Messages indicating the same error information are displayed collectively. In this case, more than one line number is displayed.
The line number outputs to the compilation list is displayed a follows.
If compile option NUMBER is enabled:
[COPY-qualification-value-]user-line-number
If compile option NONUMBER is enabled:
[COPY-qualification-value-]sequence-number-in-line-number
Message-text
Explains the content of the error.
There is a problem in an environmental setting at compilation when the message text is "There is a mistake of the environment. Please refer to the documents that described about installation".
Please confirm installation instructions and set the environment correctly.
When message number is output, the content of the error can be confirmed referring to this manual.
Severity Code | Level | Meaning | Return Code |
---|---|---|---|
I (INFORMATION) | Informational message | Information that may be helpful to you. An executable program will be generated. | 0 |
W (WARNING) | Warning error | An executable program will still be generated (unless more severe errors are encountered), however, the compiler has encountered a statement that you may need to check to confirm that the results are as expected. | |
E (ERROR) | Recoverable error | An error has been encountered that prevents the compiler from generating an executable program, but the compiler will continue to compile the program to report on any other errors. | 1 |
S (SERIOUS) | Serious error | An error has been encountered that prevents the compiler from generating an executable program, but the compiler will continue to compile the program to report on any other errors. | 2 |
U (UNRECOVERABLE) | Unrecoverable error | An error has been encountered that prevents the compiler form proceeding any further. Compilation is terminated. An executable program will not be generated. | 3 |