


In AcuConnect, you define the pathname of your remote COBOL objects in a configuration file on the client. In this file, you use the CODE_PREFIX variable to define the location of the object programs being CALLed.
In a standard client/server environment, the CODE_PREFIX variable might be defined as follows:
CODE_PREFIX . /usr/prog1 *condor:/usr/prog2
where prog1 and prog2 are directories containing the ACUCOBOL-GT object code (for example, "prog1.acu" and "prog2.acu"), and "condor" is the name of the remote application server.
In an Internet environment, the CODE_PREFIX variable would be defined in the same way, assuming that "condor" is the name of the application server on the Internet.
Notice that the name of the server is preceded by the asterisk character, "*". The asterisk indicates that the program is located on the server and that it should be run on the server as well. If you want the program to run on the client, you can simply change the "*" to "@". This emulates standard AcuServer notation.
When the client program executes a CALL, it determines which directory contains the program by looking in CODE_PREFIX, and then it executes the program on either the client or server as specified.