开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

set date and time on MVS-TK5


 

Okay, this is probably a stupid question, my I am very, very out of date.
I left the MVS world in the early 1990's and remember that we used to set the date/tome with SYS1.PARMLIB(CLOCKnn).? There is no CLOCKnn member in SYS1.PARMLIB in TK5.? I am in California and it looks to me like the MVS clock is set to GMT or close to that.
As I said it has been decade since I did any MVS system programmers type stuff.
Can anyone tell me how to set the time/date on TK5?? The SET CLOCK command will only take a two digit year.
+


 

I believe you can either set the timezone offset in the Hercules config which should have something like:

TZOFFSET +0000

so that the default MVS timezone comes up with your local time, or you can set it inside MVS 3.8 in SYS1.PARMLIB(PARMTZ), which contains x,nn where the x is E or W for east or west of GMT by "nn" hours. TK5 has E,01 in there by default.


 

Take a look at SYS1.PARMLIB(PARMTZ). ?That is how I do it.

On Fri, 2024-05-03 at 13:00 -0700, mspitz@... wrote:
Okay, this is probably a stupid question, my I am very, very out of date.
I left the MVS world in the early 1990's and remember that we used to set the date/tome with SYS1.PARMLIB(CLOCKnn).? There is no CLOCKnn member in SYS1.PARMLIB in TK5.? I am in California and it looks to me like the MVS clock is set to GMT or close to that.
As I said it has been decade since I did any MVS system programmers type stuff.
Can anyone tell me how to set the time/date on TK5?? The SET CLOCK command will only take a two digit year.


 

开云体育

Daniel

There are a couple of ways –

I changed the TIMETZ member of Sys1.parmlib

?

The format is E|W followed by a comma, and hours East or West of GMT

So – for me here in Maryland – I am W,4 during DST

?

You would use W,7 (seven hours West of GMT ) during daylight time –

?

Or – someone else stated you can teach Hercules itself to have a time offset

?

Regards

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - is NOT deducted from one’s lifespan

?

From: [email protected] <[email protected]> On Behalf Of Daniel L. Srebnick via groups.io
Sent: Friday, May 3, 2024 4:23 PM
To: [email protected]
Subject: Re: [H390-MVS] set date and time on MVS-TK5

?

Take a look at SYS1.PARMLIB(PARMTZ). ?That is how I do it.

?

On Fri, 2024-05-03 at 13:00 -0700, mspitz@... wrote:

Okay, this is probably a stupid question, my I am very, very out of date.
I left the MVS world in the early 1990's and remember that we used to set the date/tome with SYS1.PARMLIB(CLOCKnn).? There is no CLOCKnn member in SYS1.PARMLIB in TK5.? I am in California and it looks to me like the MVS clock is set to GMT or close to that.
As I said it has been decade since I did any MVS system programmers type stuff.
Can anyone tell me how to set the time/date on TK5?? The SET CLOCK command will only take a two digit year.

?


 

Thanks to all for the information.? I did change the TIMETZ member and now the time is "correct" at least for me.

Having spent the last 3 decades in the PC/MAC/Linux world, I'm slowly remembering what I need to do in the IBM MVS world.

Thanks again for all the help and the amazing people who have created Hercules and the turnkey systems.

?- Mark