Using integrated CICS translation for COBOL with CICS Transaction Server for OS/390

You can use CICS® Transaction Server for OS/390® to provide translation support for EXEC CICS statements. Using integrated translation causes the CICS translator to be started directly from your compiler. Thus, EXEC CICS statements are treated as any other statement.

About this task

Use integrated CICS translation whenever possible, but you might need to use separate CICS translation under the following circumstances:

  • You prefer to use your own tested and stable JCL to compile your code
  • Your compiler does not support integrated CICS translation
Note: To perform syntax checks on your code, you must use integrated CICS translation.

Procedure

To enable integrated CICS translation support for COBOL using CICS Transaction Server for OS/390, follow these steps:

  1. Select the resource and then select Property Group > Edit Associated Property Group.
  2. To open the COBOL Settings page, click the COBOL tab.
  3. Click Runtime Environments.
  4. Select the CICS checkbox.
    The list beside the checkbox is activated.
  5. From the list, select the level of CICS installed on the remote system.
  6. Click Procedures and Steps.
  7. Disable the translation procedure by selecting ELAXFCOT and clicking Disable Procedure.
  8. Click the Link tab.
  9. Click + next to ELAXFLNK.
  10. Select LINK.
  11. Complete the following fields:
    Link libraries
    Libraries to link your code with. For example, you might specify CICSVS.TS230.CICS.SDFHLOAD and CEEV2R10.SCEELKED in this field.
    Use specified link instructions
    Select this option and type the following link-edit control cards in the field below it:
    • INCLUDE SYSLIB(DFHELII)
    • INCLUDE SYSLIB(EQUDCCXT)
    • ORDER CEESTART
    Load module location
    The data set where your load module must be placed after the link step. For example, you might set it to the DFHRPL concatenation of your CICS region.
  12. Close and save the property group.

What to do next

You can now run remote syntax checks and perform remote builds on your configured resource. You can specify more copy libraries, compiler options, and JCL in the compiler properties pane by clicking + to expand ELAXFCOT, clicking COBTRAN, and then clicking Edit step.