Previous Topic: Configuring the Data SourceNext Topic: Construction, Assembly and Installation


Configuring the COMMCFG.TXT File

CA Gen-generated ASP.NET and .NET Proxy clients can use the COMMCFG.TXT file to define the communication infrastructure and location of the target servers.

If you did not specify Server Manager Properties for all servers in your application, you must configure the COMMCFG.TXT file.

Using the editor of your choice, open the file COMMCFG.TXT in the .net subdirectory under the directory where CA Gen is installed:

cd %GENxx%Gen
cd .net
write commcfg.txt

Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

Review the comments in the file for the available cooperative flows and their parameters. Enter records in the file to allow the generated client to access the target server.

For example, the following will cause all transactions to be sent to the CA Gen .NET server using the CA Gen .NET Remoting Communication Runtime to localhost on port 80:

* = net localhost 80 b

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