Re: Modifying the System Clock on a Running VM System

2011-08-03 Thread Stephen Powell
On Tue, 02 Aug 2011 10:06:58 -0400 (EDT), Peter Webb wrote: Do you want the code? Yes, it can and has been done. As you say, it works well for forward adjustments; CP abends on backward adjustments. For our old Multiprise 2000, which ran slow, it was fine. Our z9 runs fast, so we no

Re: Modifying the System Clock on a Running VM System

2011-08-02 Thread Peter . Webb
Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Stephen Powell Sent: July 30, 2011 19:33 To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Modifying the System Clock on a Running VM System On Sat, 30 Jul 2011 02:47:59 -0400 (EDT), Rob van der Heij wrote: On Sat, Jul 30, 2011 at 4:48 AM

Re: Modifying the System Clock on a Running VM System

2011-08-02 Thread Alan Altmark
On Tuesday, 08/02/2011 at 10:08 EDT, peter.w...@ttc.ca wrote: Yes, it can and has been done. As you say, it works well for forward adjustments; CP abends on backward adjustments. For our old Multiprise 2000, which ran slow, it was fine. Our z9 runs fast, so we no longer use it. I don't deny

Re: Modifying the System Clock on a Running VM System

2011-08-02 Thread Peter . Webb
] On Behalf Of Alan Altmark Sent: August 2, 2011 13:10 To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Modifying the System Clock on a Running VM System On Tuesday, 08/02/2011 at 10:08 EDT, peter.w...@ttc.ca wrote: Yes, it can and has been done. As you say, it works well for forward adjustments; CP abends

Re: Modifying the System Clock on a Running VM System

2011-08-02 Thread Alan Altmark
On Tuesday, 08/02/2011 at 01:25 EDT, peter.w...@ttc.ca wrote: And if we had known about Server Time Protocol when we specced our z9, we would have gone with that, since it is a FAR better solution. As you say, the own code approach is playing with fire. In the interests of full disclosure,

Re: Modifying the System Clock on a Running VM System

2011-08-01 Thread Alan Altmark
On Friday, 07/29/2011 at 08:58 EDT, Rob van der Heij rvdh...@gmail.com wrote: Uh, I'd say it has not desirable effect. CMS uses CP for the seconds, and TOD for the smaller bits... You're right; I shouldn't say no effect. CMS' mixed use of CP and TOD time does affect the accuracy of CMS time

Re: Modifying the System Clock on a Running VM System

2011-07-30 Thread Rob van der Heij
On Sat, Jul 30, 2011 at 4:48 AM, Stephen Powell zlinux...@wowway.com wrote: Theoretically, it should be possible to do this with an assembler program which uses the SCK (SET CLOCK) instruction, in conjunction with the CP EXIT facility.  However, I have no idea what effect this will have on

Re: Modifying the System Clock on a Running VM System

2011-07-30 Thread Stephen Powell
On Sat, 30 Jul 2011 02:47:59 -0400 (EDT), Rob van der Heij wrote: On Sat, Jul 30, 2011 at 4:48 AM, Stephen Powell zlinux...@wowway.com wrote: Theoretically, it should be possible to do this with an assembler program which uses the SCK (SET CLOCK) instruction, in conjunction with the CP EXIT

Re: Modifying the System Clock on a Running VM System

2011-07-29 Thread Alan Altmark
On Thursday, 07/28/2011 at 11:23 EDT, Wandschneider, Scott scott.wandschnei...@wipro.com wrote: We have a host VM system (z/VM 5.4 0902) that is located on the east coast of the USA with a time zone of WEST 04.00.00 however the actual TOD clock is behind by four (4) minutes. Scheduling an

Re: Modifying the System Clock on a Running VM System

2011-07-29 Thread Rob van der Heij
On Fri, Jul 29, 2011 at 2:44 PM, Alan Altmark alan_altm...@us.ibm.com wrote: The SET VTOD command is available if you want to influence the TOD seen by a guest.  (It has no effect on CMS since CMS uses CP time.) Uh, I'd say it has not desirable effect. CMS uses CP for the seconds, and TOD for

Re: Modifying the System Clock on a Running VM System

2011-07-29 Thread Edward M Martin
: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Kris Buelens Sent: Friday, July 29, 2011 1:40 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Modifying the System Clock on a Running VM System That makes that CP will display a good time, but it will not help the guests

Re: Modifying the System Clock on a Running VM System

2011-07-29 Thread Wandschneider, Scott
Altmark Sent: Friday, July 29, 2011 7:44 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Modifying the System Clock on a Running VM System On Thursday, 07/28/2011 at 11:23 EDT, Wandschneider, Scott scott.wandschnei...@wipro.com wrote: We have a host VM system (z/VM 5.4 0902) that is located on the east

Re: Modifying the System Clock on a Running VM System

2011-07-29 Thread Stephen Powell
On Fri, 29 Jul 2011 08:44:23 -0400 (EDT), Alan Altmark wrote: Other than IPL, there is no mechanism in VM to adjust the system TOD. Theoretically, it should be possible to do this with an assembler program which uses the SCK (SET CLOCK) instruction, in conjunction with the CP EXIT facility.

Modifying the System Clock on a Running VM System

2011-07-28 Thread Wandschneider, Scott
We have a host VM system (z/VM 5.4 0902) that is located on the east coast of the USA with a time zone of WEST 04.00.00 however the actual TOD clock is behind by four (4) minutes. Scheduling an IPL is difficult as this system hosts many clients. To adjust the TOD clock, without an IPL, it has

Re: Modifying the System Clock on a Running VM System

2011-07-28 Thread Kris Buelens
That makes that CP will display a good time, but it will not help the guests: guests get their time by using the STCK instruction and apply their timezone setting. Exceptions: - VSE running with TIMEZONE VM. But, I doubt it will use the changed time without an IPL - Some parts of CMS