Paul Gilmartin
2021-08-23 02:11:46 UTC
The TSO/E Rexx reference says:
DATE
...
Note:
1. The first call to DATE or TIME in one clause causes a time
stamp to be made that is then used for all calls to these
functions in that clause. Therefore, 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.
This might rrequire that:
say date( , 17760704, S ) date()
display:
4 Jul 1776 4 Jul 1776
What does ANSI say? Does the note requirre a clarification
for the case where there is a second argument to date()?
-- gil
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX
DATE
...
Note:
1. The first call to DATE or TIME in one clause causes a time
stamp to be made that is then used for all calls to these
functions in that clause. Therefore, 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.
This might rrequire that:
say date( , 17760704, S ) date()
display:
4 Jul 1776 4 Jul 1776
What does ANSI say? Does the note requirre a clarification
for the case where there is a second argument to date()?
-- gil
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX