The argument and return types for a remote procedure declaration can be of any value type:
value
quantity
integer
float
text
symbol
truth-value
sequence
structure
structure or sequence, G2 passes the value in its entirety. You cannot specify that some attributes and values of a structure, or certain elements of a sequence, be passed. Since structure and sequence values can include items, which include user- or system-defined attributes, the RPC argument and return value grammar lets you specify one or more user- or system-defined attributes and their values, just as you would when passing an item, rather than a value.
For the grammar to specify user- or system-defined attributes, see the various sections under Passing User- and System-Defined Classes.
In a list of arguments, each must be separated by a comma, or parentheses and a comma when specifying a class, as described in Value and Item Passing Arguments and Return Types for RPCs.
Configuring the KB for Value Passing
You configure your KB to pass a value to a remote G2 by using a remote procedure declaration (RPC).
To configure a KB for value passing using an RPC:
kmann-to-jmann data interface object.
![]() |
structure or sequence to or obtain a structure or sequence from a remote system, G2 includes all of the attributes or elements of that value. If a structure attribute consists of an item, you can optionally choose which user- or system-defined attributes of that item to pass. As a basic example of passing a structure value, the two procedures below illustrate:
COMPOSITE-VALUE-PROC procedure and displays the results.
History-keeping-spec of a variable called V1, and returns that structure to the local G2.
![]() |