Using the rpcgen compiler

The RPCGEN command generates C code from an input file that is written in the remote procedure call language (RPCL). You can use the generated C code to implement an RPC protocol.

To use the rpcgen compiler on the i5/OS operating system, complete the following tasks:
  1. Create your source input file in RPCL.

    For details about using the rpcgen compiler, refer to the Sun Microsystems Documentation Web site Link outside information center.

  2. Type the following command to run the rpcgen compiler on the i5/OS operating system:
    RPCGEN
    Note: To see the parameter and value descriptions for this command, refer to the online help text.
  3. Use a C language compiler on the i5/OS operating system to compile the output from the rpcgen compiler.
    Note: If you are using the Integrated Language Environment® (ILE) C compiler on the i5/OS operating system, you need to store the output files as source members.