RPC HELP M Entry Input Parameters

From VistApedia
Jump to: navigation, search

RPC Broker Help Home

Input Parameters (Optional)

The M entry point for an RPC can optionally have input parameters (i.e., beyond the first parameter, which is always used to return an output value). The client passes data to your M entry point through these parameters.

The client can send data to an RPC (and therefore your entry point) in one of the following three Param types:

  • Param PType -- Param Value
    • LITERAL -- Delphi string value, passed as a string literal to the VistA M Server.
    • REFERENCE -- Delphi string value, treated on the VistA M Server as an M variable name and resolved from the symbol table at the time the RPC executes.
    • LIST -- A single-dimensional array of strings in the Mult property of the Param property, passed to the VistA M Server where it is placed in an array. String subscripting can be used.


The type of the input parameters passed in the Param property of the TRPCBroker component determines the format of the data you must be prepared to receive in your M entry point.