Previous Topic Next topic Print topic


Compiling your CICS Server Program

When you compile CICS programs, you use the CICS External Compiler Module (ECM), which preprocesses the EXEC CICS statements. The ECM is invoked by the CICSECM() directive, which you set when you choose EXEC CICS in the project build settings. The client program passes the Program-ID of the server program to Enterprise Server, which locates the program and starts it.

To compile the demonstration CICS program:

  1. In Net Express, open the project eci.app if it is not already open.
  2. Check that CICS is enabled for the server program eci2oper.cbl. To do this, right click eci2oper.cbl, click Build settings and then go to the Compile tab. Ensure that EXEC CICS is checked, which sets the CICSECM directive.
  3. Rebuild the project.
Previous Topic Next topic Print topic