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. (See Table 2.1.)
Meanings of severity codes are explained in Table “Severity codes of messages output by the COBOL compiler”.
Severity Code | Level | Meaning | Return Code |
---|---|---|---|
I (INFORMATION) | Transmitting message | Information detected by the compiler. | 0 |
W (WARNING) | Warning error | The object program has been generated. However, check whether the compilation results are as expected. | |
E (ERROR) | Recoverable error | The object program has been generated. An error (e.g., compiler option error) has occurred. | 1 |
S (SERIOUS) | Serious error | The object program has not been generated. | 2 |
U (UNRECOVERABLE) | Unrecoverable error | Compilation has been halted. | 3 |
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 output to the compilation list is displayed as follows.
If the NUMBER compile option is enabled:
[COPY-qualification-value-] user-line-number[(library-name)]
If the NONUMBER compile option is enabled:
[COPY-qualification-value-] intra-source-file-relative-number[(library-name)]
Refer to "Information Provided by the NetCOBOL Compiler" in the "NetCOBOL User's Guide" for details about "COPY-qualification-value", "user-line-number" and "intra-source-file-relative-number".
Message-text
Explains the error conditions.
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.