The "Message Details" topic lists the messages written by the COBOL runtime system. For each message it explains the system action and appropriate programmer responses in the following format:
Message-number
Message-text (*1)
System action
System action or runtime system action - for example, whether or not processing is terminated. Explanation
Explanation of the message text Response
Action to be taken by the programmer
*1 : "$n" in the message text is a parameter indicating variable information. The parameter is replaced by a program name or file name in the actual message.
When access or file names are parameters in the message text they should be interpreted as follows:
An access name is used for connecting a program and file entity. The access name corresponds to the runtime environment variable name that specifies the file entity name at runtime. The access name also corresponds to the file identifier specified in the ASSIGN clause.
A file name is a file entity name. The file name corresponds to the file identifier literal or data name specified in the ASSIGN clause. "?" is displayed if the data name is not recognized.
If DISK or PRINTER is specified in the ASSIGN clause, the file name corresponds to the file name specified in the SELECT clause.
The file name specified in the SELECT clause is enclosed in parentheses in the message text.
The error address indicated in a parameter providing variable information in the message text identifies the program in which an error is detected and the location in the program at which the error is detected.
The error address is indicated in the following format.
When the error is detected by the program definition
PGM = external program name. LINE=[COPY-qualification-value-]user-line-number
When the error is detected by the method definition
CLASS = name of the class in which the method is defined METHOD = method name. LINE=[COPY-qualification-value-]user-line-number
For the format of COPY-qualification-value and user-line-number, refer to "Source Program Listing" in Chapter 2 of the "NetCOBOL Debugging Guide".
Note
The language for Runtime Error Messages is decided when the runtime environment is established.
If there are no messages in an applicable language, Runtime Error Messages are displayed in English.