Appendix A: Open PL/I Compiler Error Messages

This appendix describes the format of Open PL/I error messages and the different levels of error messages.

Interpreting Error Messages

The format for Open PL/I compilation error messages is as follows. Note that not all the elements shown are present in every message.

[ERROR xxx] SEVERITY level BEGINNING ON LINE nn[of filename] error message

ERROR xxx, if present, is the error message number. Not all messages have numbers. The message numbers are provided for reference when reporting a problem or seeking further assistance from customer support personnel.

SEVERITY level identifies how seriously Open PL/I regards the error. Table A-1 includes the severity level of the error, the corresponding class of error message, and a description of the class of the error message.

LINE nn identifies which line of the source file contains the error. Note that this is the line number of the start of the statement in error, not necessarily the exact source line that contains the error. filename, if present, is the name of the source file.

error message is a brief statement of the error.

Severity Level    
Error Class    Description
1 WARNING     Compiler detected an unusual but valid source language construct; if this was intended, the message can be ignored. WARNING messages can be suppressed with the -nowarn command-line option.
2 ERROR(2) Compiler detected an invalid source language construct, which it attempts to ignore; compiler continues with compilation of the statement. Errors with this severity do not prevent the generation of an object file, but the generated code for statements with errors of this severity is not correct. The source program should be corrected and recompiled.
3 ERROR(3) Compiler detected an invalid source language construct. Compilation of the statement containing the error is abandoned but compilation can continue. No object file will be generated. The source program must be corrected and recompiled.
4 ABORT Compiler detected an uncorrectable error, and compilation cannot continue; all previously detected ERRORs must be corrected and the source program must be recompiled.
Table A-1: Severity Level of Diagnostics

Copyright © 2009 Micro Focus (IP) Ltd. All rights reserved.