Something like :
LG GR0,CURR_STCK UTC
ALG GR0,LPAR_STCK_OFFSET Local time STCK offset as signed value
64-bit
STG GR0,NEW_STCK New STCK value
STCKCONV STCKVAL=NEW_STCK,
CONVVAL=.....etc etc
Obviously this assumes you know the UTC offset at the time of the LPAR
Rob Scott
Lead Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.781.684.2305
Email: [email protected]
Web: www.rocketsoftware.com
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Charles Mills
Sent: 28 February 2012 18:39
To: [email protected]
Subject: Re: How convert "historic" STCK to local time?
If I had a TOD clock value from roughly six months ago, how would I use
STCKCONV to convert it to local time for the LPAR's locale?
Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Rob Scott
Sent: Tuesday, February 28, 2012 10:12 AM
To: [email protected]
Subject: Re: How convert "historic" STCK to local time?
STCKCONV and CONVTOD are both provided macro services to translate between STCK
values and various date/time formats
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN