The RPC command example program, uni_rpc.c, sends an RPC command to a server and processes the results. This is a modification of the rpc.c sample program for use with unichar and univarchar datatypes, and requires the unipubs database.
For more information about this example program, see the leading comments in the example source file.