>
>There is still a small(er) chance that the date changes between the
>resolution of the Date() function and the resolution of the Time()
>function. (AFAIK)
>Haven't found a really "clean" solution to this problem. Anyone ?
>
>Thomas Berg
>
Read the manual: TSO/E REXX Reference.
... multiple calls to any of the DATE or TIME functions or both in a
single expression or clause are guaranteed to be consistent with
each other.
So you can get consistent date and time by
datetime=date() time()
or
parse value date() time() with ...
Tomas
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html