RPC HELP XWB GET VARIABLE VALUE RPC
From VistApedia
XWB GET VARIABLE VALUE RPC
You can call the XWB GET VARIABLE VALUE RPC (distributed with the RPC Broker) to retrieve the value of any M variable in the VistA M Server environment. Pass the variable name in Param[0].Value, and the type (referemce) in Param[0].PType. Also, the current context of your user must give them permission to execute the XWB GET VARIABLE VALUE RPC (it must be included in the RPC multiple of the "B"-type option registered with the CreateContext function).