Previous Topic: Configuring the Cooperative FlowNext Topic: Option 2: Modifying COMMCFG.TXT


Option 1: Change Your Model and Generate

During generation, the generated servers know the servers they will be utilizing at runtime and the default cooperative flow to use for that server. The cooperative flow information comes from the server properties dialog and server environment parameters dialog.

Follow these steps:

  1. Open your model. On the main menu bar, select Construction, Packaging or Construction, Generation.
  2. Open the cooperative packaging diagram by selecting Diagram, Open, Cooperative Code.
  3. For each server that is generated for either C or COBOL:
    1. Open the server manager properties dialog by either double-clicking the server, select the server and then selecting Details, Properties from the main menu bar or right-clicking the server and selecting Detail, Properties from the pop-up menu.
    2. In the server manager dialog, select the TCP/IP tab.
    3. Enter values in to the HostName and Service (Port) fields. HostName is the TCP/IP hostname where the CA Gen C or COBOL Servers are executing. The Service (Port) is the port number of the TP Monitor running the CA Gen C or COBOL Servers.
    4. Click OK to save your changes.
    5. With the server manager still selected, open the server environment parameters dialog by either selecting Detail, Server Environment from the main menu bar or right-clicking the server and selecting Detail, Server Environment from the pop-up menu.
    6. Set the server Operating System as appropriate and Communications to TCP/IP.
    7. Click OK to save your changes.
  4. When all servers have been configured, generate and build the CA Gen .NET Servers. The servers now contain the data needed to interoperate with the CA Gen C or COBOL Servers.
  5. Ensure the COMMCFG.TXT file does not contain an entry that overrides the information generated in the servers.
  6. Assemble the servers into an MSI file and install the servers on the target system.