RPC HELP BROKER XWBLIB
From VistApedia
Revision as of 00:30, 6 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home <h2>$$BROKER^XWBLIB</h2> Use this function in the M code called by an RPC to determine if the current process is being executed by th...")
$$BROKER^XWBLIB
Use this function in the M code called by an RPC to determine if the current process is being executed by the RPC Broker.
Format
$$BROKER^XWBLIB
Input
(none)
Output
Return Value 1 if the current process is being executed by the Broker; 0 if not.
Example
IF $$BROKER^XWBLIB DO . ; broker-specific code