VM-CMS -- /User

# Under VM-CMS

There is limitted support for the RPC system on the IBM VM/CMS mainframe. Communication over TCP/IP only is supported. Format conversion of floating-point numbers has not yet been added. Also still to be fixed (Mat 91) are

The real number format conversion;

The FORTRAN interface to the RPC runtime library for stubs in FORTRAN.

Below the commands are quoted as suitable for inclusion in EXEC files. (See also installation )

## Link time

The C version of the library is used, and linked with the TCP libraries. Currently (May 1991, at CERN) the commands needed to do this are

    			"GIME TCPMNT 582"

to get access to the TCP library at link time, and

    			"EXEC TCPLOAD" name "1400CERN C"

to link your modfules together. Here, "name" is the name of your program. In the file

    			name LOADLIST

you must have a list of modules, including your own code, the stub module(s), and

    			RPCRTS
    			TS
    			TS_TCP
    			CM_ENV
    			RPC_MSG
    			ERRMSG

The C files for these modules are the same as the unix files. They are compiled using the comma!nd

    			"CC" name "(DEF(VM,IBM))"

Note that, in addition to the usual .h files, the file VMSPEC H (vmspec.h) is the system-specific include file for VM/CMS. Warnings about truncated external names should be ignored.

## Run time

Use

    			"GLOBAL TXTLIB IBMLIB"

to make the IBM libary available at run time.

### Setting addresses

Instead of the "setenv" command under unix, or "define" under VMS, you must use the command

    			GLOBALV SELECT CENV SET  <name> <value>

_________________________________________________________________