Building a Remote Procedure
The following steps are used to install an RPC on the VMS system. (If you are using RMS on Itanium, the options file is the same as that for Alpha users: RMSALPH.OPT.)
To install an RPC on the VMS system:
1. Determine the appropriate object library:
For RMS, the name is CNXRMSC0.OLB
For DBMS, the name is CNXDBM0.OLB
For Rdb, the name is CNXRDBC0.OLB
Note:
The 0 at the end is a zero.
2. Make a backup copy of the original object library.
For example:
$ COPY CNXRDBC0.OLB CNXRDB_ORIG.OLB
3. Use the appropriate compiler to create an object file.
For example:
$ BASIC RPC_
4. Create a new executable:
For RMS, the link command is as follows:
$ LINK/EXE=CNXRMSC0.EXE RPC_.obj CNXRMSC0.OLB/LIB/INCLUDE=(FACTORY), RMSVAX.OPT/OPT
For Alpha systems, the options file is called RMSALPH.OPT.
For Rdb, the link command is as follows:
$ LINK/EXE=CNXRDBC0.EXE RPC_.obj CNXRDBC0.OLB/LIB /INCLUDE= (FACTORY) , RDBVAX.OPT/OPT
For Alpha systems, the options file is called RDBALPH.OPT.
For DBMS, the link command is as follows:
$ LINK/EXE=CNXDBMC0.EXE RPC_.obj CNXDBMC0.OLB/LIB /INCLUDE= (FACTORY) , DBMVAX.OPT/OPT
For Alpha systems, the options file is called DBMALPH.OPT.