RPC HELP XWB REMOTE GETDATA

From VistApedia
Jump to: navigation, search

RPC Broker Help Home

XWB REMOTE GETDATA

Example

Use this RPC to retrieve the results of XWB REMOTE RPC. Before calling this RPC, use XWB REMOTE STATUS CHECK to ensure that the results have been returned to the local VistA M Server. When the results have arrived, call this RPC and pass the HANDLE returned by XWB REMOTE RPC.

After the application is finished with the data on the VistA M Server, it should use XWB REMOTE CLEAR to clear the ^XTMP global.

RETURN VALUE: An array containing the data. In the case of an error condition the first node of the array is equal to a string with the syntax "-1^error text".