Error message types
The types of PL/I error messages that you might encounter are:
- PL/I files that are part of your workspace (local) that you selected when you opened the Design Studio: When your application is unsuccessful in importing a local PL/I file, which is part of the workspace, into your project, syntax error messages are displayed in the Problems view. To view the source of the error in your code, click the error message line in the Problems view. Errors are also logged in a generic log file, which is located under the metadata directory in the workspace that you selected when you opened the Design Studio: [workspace]\.metadata\CommonBaseEvents.log
- PL/I files that are not part of your workspace: If the file is not part of the workspace the syntax error messages, if any, are logged in the log file.
- Additional Error Feedback:
PL/I Exception.getMessageNote()
: returns the following message if the PL/I source has syntax errors: For the PL/I source which is expected to be a full program because of its file extension Possible reasons for failure: Syntax errors were found in the source. Check the problems task list for the list of errors.PL/I Exception.getErrorMessageVector()
: returns a vector that consists of an ErrorMessageInfo object or objects. The purpose of ErrorMessageInfo is to give the information about a syntax error in the PL/I source. Syntax errors include: Error Message, Severity Code, Line Number, and File Location information. You get an ErrorMessageInfo object for each syntax error.PL/I Exception.getMessage()
: The import of the PL/I source has failed: Check the problems task list for the list of errors.
- Data name mangling: Duplicate names are made unique by the addition of two numeric digits. For example, two instances of year become year01 and year02.