Difference between revisions of "RPC HELP BROKER XWBLIB"

From VistApedia
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 00:30, 6 July 2015

RPC Broker Help Home

$$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