Handling Errors

 
 

The bottom part of the Program Builder window shows output from build operations. You can:

When you build a program that contains COBOL source files containing embedded CICS statements, the Program Builder invokes the CICS preprocessor. This preprocessor generates a COBOL source program by converting embedded CICS statements to COBOL statements. The Program Builder then invokes the COBOL compiler to compile the generated COBOL source program. When a compile error is detected, you can select the error and invoke the LPEX editor to edit the source file at the line or column where the error occurred. In this case, however, the source program is the generated COBOL source program, not the original COBOL source file containing embedded CICS statements. You should examine the location of the compile error in the generated COBOL source program, and correct the error in the original COBOL source file containing the embedded CICS statements. The Program Builder will not invoke the LPEX editor on the COBOL source file containing the CICS statements. Access permissions to the generated COBOL source program are changed to read-only to imply that the file cannot be modified.

Notes:

  1. If you change the files before you select errors, you will not be brought to the lines where the errors occurred.
  2. If you select errors within a file and close the edit window without rebuilding, then select another error, you will not be brought to the line where the error occurred.
  3. The Program Builder only recognizes errors from the compilers that contain file, line, and column information.

For information about editing files, see the LPEX User's Guide and Reference.