Use 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 i5/OS™, complete the following tasks:
  1. Create your source input file in RPCL.

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

  2. Type the following command to run the rpcgen compiler on i5/OS:
    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 i5/OS to compile the output from the rpcgen compiler.
    Note: If you are using the Integrated Language Environment® (ILE) C compiler on i5/OS, you need to store the output files as source members.