Syntax check of COBOL and PL/I source that contains EXEC CICS statements by using CICS Transaction Server for OS/390

To perform a quick verification of your code, you can execute a syntax check on your program as an initial form of validation. Performing a syntax check is faster than performing a full build, so you must use it when you want quick feedback on the correctness of your program. Any EXEC CICS statements that are embedded in COBOL and PL/I source can be automatically translated by your CICS® translator before you run a syntax check.

Before you begin

Before you run a syntax check by using CICS Transaction Server for OS/390®, you must first configure your workbench to use CICS Transaction Server as your CICS translator.

Procedure

To execute a remote syntax check, follow these steps:

In the z/OS Projects view, right-click the resource that you want to check the syntax of and click Remote Syntax Check or press Ctrl+Alt+R.
If a JCL error occurs or the job ends abnormally, an error message displays to help you solve the problem. From this message window, you can do one of the following actions:
  • Open the job output to view the error messages and return codes.
  • Open the property group that is associated with the file to view the build properties currently in use.

Results

Errors that the syntax checker finds are listed in the Remote Error List view.

What to do next

Double-click an error that is listed in the Remote Error List view to display the corresponding line of code in the LPEX Editor.