Previous Topic: Option 1: Change Your Model and GenerateNext Topic: Execute the Application


Option 2: Modifying COMMCFG.TXT

CA Gen .NET Servers can be redirected to CA C and COBOL Servers by overriding the cooperative flow information generated in the server as a result of editing the COMMCFG.TXT file.

Follow these steps:

  1. Locate the file to be edited. The COMMCFG.TXT file is located under the CA Gen directory in .net\bin. After installation, all applications have a copy of this file in the \Inetpub\wwwroot\<app-name>\bin directory. This file may also be directly edited.

    Editing the COMMCFG.TXT file under the CA Gen directory requires that the application be reassembled into an MSI file and reinstalled.

  2. In the editor of your choice, open the COMMCFG.TXT file
    write commcfg.txt
    
  3. Create an entry for the trancode(s) to be redirected to the CA Gen generated .NET Servers, for example:

    <trancode> = TCP <host> CA PortalTCP <host> CA Portal

  4. If necessary, reassemble the MSI file and reinstall the application. This should only be done if the COMMCFG.TXT file under the CA Gen directory has been edited.

Note: For a detailed discussion on the use of the COMMCFG.TXT file, see the Distributed Processing – Overview Guide.