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


Chapter 3 Tools : $SETTRANSACTION

$SETTRANSACTION
Returns the current name of a TIBCO Object Service Broker transaction and sets a new name. (F)
Invocation
currentname = $SETTRANSACTION(attribute, value)
 
The new transaction value; use syntax C (fixed-length character string) with maximum length of 8.
Usage Notes
The transaction name persists for the life of the transaction (until it is changed). It is inherited by other initiated transactions, whether by a TRANSFERCALL or EXECUTE statement.
Example
The following rule sets the transaction name to TRAN01:

 
RULE EDITOR ===> SCROLL: P
SETTRAN_1;
_ LOCAL PRESENTNAME;
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ PRESENTNAME = $SETTRANSACTION('NAME', 'TRAN01'); | 1
_ ---------------------------------------------------------------------------

 

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