Generating Interface Objects - General Considerations

An interface object is a Natural subprogram that is used to connect the client's calling program to a subprogram on a server.

Interface objects are actually not required if automatic Natural RPC (Remote Procedure Call) execution is used with the one important exception described below. However, it can be advantageous to generate interface objects as explained in Interface Objects and Automatic RPC Execution in the section Operating a Natural RPC Environment in the Natural RPC (Remote Procedure Call) documentation.

Note for EntireX RPC Servers:
An interface object is required if the IDL (Interface Definition Language) definition of the subprogram you want to call on an EntireX RPC server contains a group structure. In this case, you have to define the same group structure in the interface object by using the appropriate SYSRPCInterface Object Generation function described in this section.

You can generate an interface object from new parameter definitions or from existing definitions in a subprogram.

Caution:
The subprogram used for generating an interface object can no longer be referenced in the local environment on the client side. The function Interface Object Generation completely changes the source of the subprogram so that it becomes unusable for local program calls.

The following sections describe the functions and commands provided to generate single or multiple interface objects: