Rational Developer for System z

Task error reporting and handling

This topic explains how to use the Remote Error List to find and correct syntax check and build errors.

Syntax errors

Procedure

  1. In the editor, right-click and select Syntax check. If the compilation fails, the error message is displayed, along with an indication of the line number in error in the source code.
  2. Double click the error message. The cursor is placed in the editor view at the line containing the error.
  3. Make the correction and press CTRL+S to save the file.
  4. Perform the syntax check again. If you have fixed the problem, the error message is removed from the Remote Error List.

Build errors

Procedure

  1. From the z/OS Projects or Enterprise Projects view, right-click the project and select Rebuild Project. If the build fails, error messages are shown in the Remote Error List.
  2. Make the required corrections and click OK to save your changes.
  3. Perform the build again. If you fixed the problem, the error message is removed from the Remote Error List.

Feedback