Print Page as PDF
TEST FOR BROKER CONTEXT ICR (2198)

TEST FOR BROKER CONTEXT    ICR (2198)

Name Value
NUMBER 2198
IA # 2198
DATE CREATED 1997/11/19
CUSTODIAL PACKAGE RPC BROKER
CUSTODIAL ISC San Francisco
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE XWBLIB
NAME TEST FOR BROKER CONTEXT
GENERAL DESCRIPTION
Use this function in the M code called by an RPC to
determine if the current process is being executed by the Broker.
STATUS Active
ID XWBLIB
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION
$$BROKER()
Format

$$BROKER^XWBLIB


Input

(none)


Output

Return Value   1 if the current process is being executed by the Broker; 0 if
not.


Example

I $$BROKER^XWBLIB D .; broker-specific code