The format for Open PL/I compilation diagnostic messages is as follows:
filename (line, col) : diagnostic level MFPLI + diagnostic number + first letter of the diagnostic level : diagnostic message
- filename
- The name of the file that caused the diagnostic message.
- (line,
col)
- Line number and column number. If the column number is 0, the column is not available.
- diagnostic level
- There are five diagnostic levels: Info, Warning, Error, Severe and Abort.
- MFPLI +
diagnostic number +
first letter of the diagnostic level
- This consists of "MFPLI", the diagnostic number and the first letter of the diagnostic level (Info - "I", Warning - "W", Error - "E", Severe - "S" and Abort - "A").
- diagnostic message
- A brief statement of the diagnostic.
Example
hex2.pl1 (10,0) : Severe MFPLI01253S : The first argument of the HEX built-in function must be a variable reference.
Note: An object file is not generated if an error at the Severe or Abort level is encountered.