Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : $TRXMODE

$TRXMODE
Retrieves the transaction mode of the current rule. (F)
Invocation
result = $TRXMODE
 
Example
Rule

 
RULE EDITOR ===> SCROLL: P
GET_MODE;
_ LOCAL A;
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ A = $TRXMODE; ¦ 1
_ CALL ENDMSG('The current rule is running in ' ¦ 2
_ || A || ' mode.'; ¦
_ ---------------------------------------------------------------------------

 
Output
Running GET_MODE could produce:
The current rule is running in BROWSE mode.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved