Rational Developer for System z

Building COBOL and PL/I source containing EXEC CICS statements

Any EXEC CICS statements embedded in COBOL and PL/I source can be automatically translated by your CICS® translator before compilation.

Before you begin

Before building an OS/390® CICS Transaction Server application, you must connect to JES and enable your CICS translator. Refer to Adding CICS translation support to COBOL and PL/I applications for more information on enabling CICS translation support.

About this task

Follow these steps to produce an executable from source code that contains EXEC CICS statements:

Procedure

  1. In the z/OS Projects or Enterprise Projects view, right-click on the resource you want to build and click Generate JCL > For Compile Link. The JCL Data Set and Member Name window opens.
  2. Fill in the information requested in the fields and click OK. A window opens upon successful completion, which you can dismiss by clicking OK. The generated JCL is also added to your project with the data set and member names you specified in the JCL Data Set and Member Name window.
  3. In the z/OS Projects or Enterprise Projects view, right-click on the generated JCL and click Submit or press Ctrl+Alt+M.
    Note: If Submit is disabled, ensure that you are connected to JES and try again.

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