Diagnostic Message Syntax

A diagnostic message specifies the location of the error, its type, and a short description of the error, as described below and shown in Figure A-1:

Location

The file name and line number information helps to locate the exact part of the code that needs correction. In some cases the location shows the detection of a derivative error.

Severity

This information indicates the severity of the error.

Message number

IAS message numbers are prefixed by an A. Use the message number to locate its description.

Message text

This text provides a one line explanation of the incorrect or suspicious input.

Figure below shows an example of an error message, and specifies the message elements.

Diagnostic Message Syntax Example

Diagnostic Message Format

This is the format of the diagnostic message descriptions:


Message Number Text of the message

Additional description of the message.