RPC HELP XWB DEFERRED GETDATA

From VistApedia
Jump to: navigation, search

RPC Broker Help Home

XWB DEFERRED GETDATA

Example

Use this RPC to retrieve the results of XWB DEFERRED RPC. Before calling this RPC, use XWB DEFERRED STATUS to ensure that the job has finished. When the results are available, call this RPC and pass the HANDLE returned by XWB DEFERRED RPC.

After the application is finished with the data on the VistA M Server, it should use XWB DEFERRED 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".