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


Chapter 3 Tools : TIME

TIME
Returns a string containing the time of the day when the transaction started. (F)
Invocation
string = TIME
 
On return, contains the time. Its syntax is C (fixed-length character string) with length 8.
Usage Notes
The returned string is in the form HH:MM:SS, for example, 23:59:59.
Example
The following rule determines the time of day when the transaction started and prints it to the message log:

 
TIME_1;
_ LOCAL TIME_OF_DAY;
_ ------------------------------------------------------------------------
_ ------------------------------------------------------------+-----------
_ TIME_OF_DAY = TIME; | 1
_ CALL MSGLOG('THIS TRANSACTION WAS STARTED AT: ' || | 2
_ TIME_OF_DAY); |
_ ------------------------------------------------------------------------

 
Pressing PF2 after executing this rule displays the following:

 
------------------------- INFORMATIONAL MESSAGE LOG -----------------
COMMAND ===> SCROLL ===> P
THIS TRANSACTION WAS STARTED AT: 08:28:21

 

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