Rational Developer for System z

Checking the syntax of PL/I source code using CICS TXSeries for Windows

You can check the syntax of remote files using a CICS® TXSeries for Windows region by using CICS TXSeries to translate EXEC CICS statements in your source code.

Before you begin

Your source code must be in a z/OS® project before you can locally check the syntax using CICS TXSeries for Windows.

Linux icon Rational® Developer for System z® does not support TXSeries on the Linux platform.

About this task

To check the syntax of source code using CICS TXSeries for Windows, do these steps:

Procedure

  1. Open the PL/I Settings Properties page.
  2. Click the Local Compile Options tab.
  3. Type TEST,DLLINIT,SYSTEM(CICS) in the Compile Options field.
  4. Type \CICS\INCLUDE in the SYSLIB field.
  5. Select Invoke preprocessor.
  6. Accept or modify the preprocessor options: MACRO CICS('SUBSYS(CICSTNT)' edf debug source print) MACRO.
  7. Click Apply.
  8. Click OK.
  9. In the z/OS Projects or Enterprise Projects view, right-click on the resource you want to check the syntax of and click Syntax Check > Local or press Ctrl+Alt+L.

Results

Errors found by the syntax checker will be listed in the Remote Error List view.

What to do next

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

Feedback