Previous Topic Next topic Print topic


Running a Client/Server Binding Application

The mfserver module is provided in .int code format so that it can be run as it is or generated into .gnt code.

If you have a UNIX system running Micro Focus COBOL 3.2 or later, you can move the .int module to your UNIX system and link it with other programs to create an executable module.

The mfclient and mfserver modules are run as standard COBOL programs, with both the client and server components started manually.

Note: Client/Server Binding for CCI supports both 32 and 64 bit modes.

To run the Client/Server Binding, first start the server program, then start the client program.

Windows:

The command line to start the server program on Windows is:

run mfserver [-b] [-p protocol] [-s server-name] [-v]

UNIX:

and on UNIX:

cobrun mfserver [-b] [-p protocol] [-s server-name] [-v]

where:

-b Allows you to run the server as a background process. On UNIX systems, the command line should be terminated with the '&' character. Any error messages produced by the server will be stored in the log file (mfclisrv.log).
-p protocol Specifies the communications protocol.
-s server-name Indicates a server-name other than the default (mfclisrv).
-v Displays the mfserver version number.
Note: To use mfserver in 64-bit mode, you must start it using "cobrun64 mfserver [options]", not "cobrun mfserver [options]".

The command line to start the client program is:

run program-name [config-filename]

where:

program-name Specifies the name of the user interface program.
config-filename Specifies the name of the configuration file to be used.
Previous Topic Next topic Print topic