On Fri, 19 Apr 2013 11:46:34 -0400, John Gilmore wrote:

>It seems to me that Peter Relson made a crucial point.
>
>STCKCONV converts STCK- or, preferably in my view, STCKE-format values
>into Gregorian-calendar date-time values.  That is its job.  The
>question what the input represents, GMT, WET, PDT, or whatever, is
>irrelevant for it.
>
>It is sane to run the TOD clock on GMT/UTC, but that is another question.
>
Actually,

z/Architecture Principles of Operation
SA22-7832-08

Time-of-Day Clock

notes that IBM's convention is to run the TOD clock at TAI - 10 seconds,
sane or not.  IOW, the zero point is 1900-01-01 00:00:10 in proleptic
TAI (they discuss this pretty clearly; I interpolated the word "proleptic").

And:

5. In converting to or from the current date or time,
   the programming support must take into account that
   “leap seconds” have been inserted or deleted because
   of time-correction standards.

The appearance of the word "must" suggests that "programming
support" such as the TIME macro makes this correction (as I believe
it does).  And for consistency, that STCKCONV should do likewise.
If it does otherwise, that fact should be noted in the Assembler
Services manual.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to