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


Chapter 3 Tools : $TRXDATE

$TRXDATE
Returns the start date of the transaction that called this tool based on the local machine’s time zone in which the Execution Environment is running. (F)
Invocation
date = $TRXDATE
 
Usage Notes
Example
As part of a larger transaction that could run overnight, the following rule writes the starting date of the transaction to the message log:

 
RULE EDITOR ===> SCROLL: P
START_DATE;
_ LOCAL DATE;
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ DATE = $TRXDATE; | 1
_ CALL MSGLOG('TRANSACTION STARTED:' || DATE); | 2
_ ---------------------------------------------------------------------------

 

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