Re: Daylight Saving Time change
I hope Mark won't mind, but I changed the code a bit to work for Europe: address command resultfile='TZ CHANGES A' 'FINIS' resultfile 'ERASE' resultfile Do =2007 to 2041 'EXECIO 1 DISKW' resultfile '(STRING ' GetSpring() 'EXECIO 1 DISKW' resultfile '(STRING ' GetFall() End 'FINIS' resultfile say 'Results are now contained in file:' resultfile Exit rc GetSpring: /* Find last Sunday in March */ parse arg year . Do dx=year'0331' by -1 for 7 until dow='Sunday' dow=date('W',dx,'S') End return 'Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to SUM' GetFall: /* Find last Sunday in October */ parse arg year . Do dx=year'1031' by -1 for 7 until dow='Sunday' dow=date('W',dx,'S') end Return 'Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 03:00:00 to WIN' 2009/10/15 Mike Walter mike.wal...@hewitt.com ...Rolly Oh, BTW, any one has the time change dates for 2009 - 201x? TIA. Run the TZDATES EXEC pasted below. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. /* Prolog; See Epilog for additional information * Exec Name - TZDATES EXEC* * Unit Support - OSS/VM * * Status- Version 2, Release 1.0 * / address 'COMMAND' parse source xos xct xfn xft xfm xcmd xenvir . parse upper arg parms 1 operands '(' options ')' parmrest If operands='?' then Signal Explain parse var operands tz . If tz='' then tz='C' ltz=length(tz) If ltz1 then Do say xfn'; Invalid timezone character, length not 1.' , 'Found 'tzc'.' say 'For more help, issue:' xfn '?' Call Exit 20 End resultfile=xfn 'BOUNDS A' 'FINIS' resultfile 'ERASE' resultfile Signal ON Error Do ix=2007 to 2041/* What years do we want to cover? */ /* As of 2005-09-27, dates beginning in 2042 cause error msg: */ /* HCPZPM6706E Invalid date - 2042-mm-dd */ /* There's time for an APAR before then... */ spring=GetSpring(ix) fall =GetFall(ix) 'EXECIO 1 DISKW' resultfile '0 F 80 (STRING' spring 'EXECIO 1 DISKW' resultfile '0 F 80 (STRING' fall End 'FINIS' resultfile say xfn 'results are now contained in file:' resultfile Call Exit rc // /* Sub-Routines below this point */ // Exit: parse arg exitrc . If verify(exitrc,'-0123456789')=0 then Exit exitrc else Exit 99 GetSpring: parse arg year . /* Find 1st Sunday in March, beginning in 2007 per the: */ /* U.S. Government Energy Policy Act of 2005. */ Do dx=year||0301 by 1 for 7 until dow='Sunday' dow=date('W',dx,'S') End dx=dx+7 /* Ooooh, easy date math! Add 14 for 2nd Sunday in March*/ spring='Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to' tz'DT' /* Change to Daylight Time */ Return spring GetFall: parse arg year . /* Find 1st Sunday in November beginning in 2007 per the: */ /* U.S. Government Energy Policy Act of 2005. */ Do dx=year||1101 by 1 for 7 If date('W',dx,'S')'Sunday' then Iterate Return 'Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to' tz'ST' /* Change to Standard Time */ End Return Error: say '+++ ERROR error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) Exit 20 Syntax: say '+++ SYNTAX error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) Call Exit 20 NoValue: say '+++ NoValue error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) say '+++ Variable with no value is:' condition('Description') Call Exit 24 Explain: 'PIPE (NAME Explain)' , '| ' xfn xft xfm , '| INSIDE /ExplainBegin:/ /ExplainEnd:/' , '| PREFACE STRLITERAL /'xfn xft xfm 'help.../' , '| CONSOLE' Call Exit 0 /* ExplainBegin: Unless changed, TZDATES will produce a file suitable for inclusion in SYSTEM CONFIG on MAINT's CF1, CF2, etc. disks to define the Spring and Fall Daylight/Standard timezones. +-C+ -TZDATES--+--+---
Re: Daylight Saving Time change
Can you explain where this Hints and Tips is? I told our VSE guy about the AR command, and he said he looked through all the manuals and there is no such animal. Thanks, Shimon Original message Date: Wed, 14 Oct 2009 16:07:26 -0400 From: Edward M Martin emar...@aultman.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Hello Ron, I found it in the Hints and Tips. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Ron Schmiedge Sent: Wednesday, October 14, 2009 4:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina rsmrc...@wi.rr.com wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM.
Re: Daylight Saving Time change
I found it in here: ftp://ftp.software.ibm.com/eserver/zseries/zos/vse/pdf3/zvse41/hint9mm2.pdf Rolly Oh, BTW, any one has the time change dates for 2009 - 201x? TIA. --- On Thu, 10/15/09, Shimon Lebowitz shim...@iname.com wrote: From: Shimon Lebowitz shim...@iname.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Received: Thursday, October 15, 2009, 3:09 PM Can you explain where this Hints and Tips is? I told our VSE guy about the AR command, and he said he looked through all the manuals and there is no such animal. Thanks, Shimon Original message Date: Wed, 14 Oct 2009 16:07:26 -0400 From: Edward M Martin emar...@aultman.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Hello Ron, I found it in the Hints and Tips. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Ron Schmiedge Sent: Wednesday, October 14, 2009 4:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina rsmrc...@wi.rr.com wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM.
Re: Daylight Saving Time change
You can also find it here along with other useful doc. http://www-03.ibm.com/servers/eserver/zseries/zvse/documentation/#hints -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Shimon Lebowitz Sent: Thursday, October 15, 2009 11:10 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Can you explain where this Hints and Tips is? I told our VSE guy about the AR command, and he said he looked through all the manuals and there is no such animal. Thanks, Shimon Original message Date: Wed, 14 Oct 2009 16:07:26 -0400 From: Edward M Martin emar...@aultman.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Hello Ron, I found it in the Hints and Tips. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Ron Schmiedge Sent: Wednesday, October 14, 2009 4:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina rsmrc...@wi.rr.com wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM.
Re: Daylight Saving Time change
...Rolly Oh, BTW, any one has the time change dates for 2009 - 201x? TIA. Run the TZDATES EXEC pasted below. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. /* Prolog; See Epilog for additional information * Exec Name - TZDATES EXEC* * Unit Support - OSS/VM * * Status- Version 2, Release 1.0 * / address 'COMMAND' parse source xos xct xfn xft xfm xcmd xenvir . parse upper arg parms 1 operands '(' options ')' parmrest If operands='?' then Signal Explain parse var operands tz . If tz='' then tz='C' ltz=length(tz) If ltz1 then Do say xfn'; Invalid timezone character, length not 1.' , 'Found 'tzc'.' say 'For more help, issue:' xfn '?' Call Exit 20 End resultfile=xfn 'BOUNDS A' 'FINIS' resultfile 'ERASE' resultfile Signal ON Error Do ix=2007 to 2041/* What years do we want to cover? */ /* As of 2005-09-27, dates beginning in 2042 cause error msg: */ /* HCPZPM6706E Invalid date - 2042-mm-dd */ /* There's time for an APAR before then... */ spring=GetSpring(ix) fall =GetFall(ix) 'EXECIO 1 DISKW' resultfile '0 F 80 (STRING' spring 'EXECIO 1 DISKW' resultfile '0 F 80 (STRING' fall End 'FINIS' resultfile say xfn 'results are now contained in file:' resultfile Call Exit rc // /* Sub-Routines below this point */ // Exit: parse arg exitrc . If verify(exitrc,'-0123456789')=0 then Exit exitrc else Exit 99 GetSpring: parse arg year . /* Find 1st Sunday in March, beginning in 2007 per the: */ /* U.S. Government Energy Policy Act of 2005. */ Do dx=year||0301 by 1 for 7 until dow='Sunday' dow=date('W',dx,'S') End dx=dx+7 /* Ooooh, easy date math! Add 14 for 2nd Sunday in March*/ spring='Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to' tz'DT' /* Change to Daylight Time */ Return spring GetFall: parse arg year . /* Find 1st Sunday in November beginning in 2007 per the: */ /* U.S. Government Energy Policy Act of 2005. */ Do dx=year||1101 by 1 for 7 If date('W',dx,'S')'Sunday' then Iterate Return 'Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to' tz'ST' /* Change to Standard Time */ End Return Error: say '+++ ERROR error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) Exit 20 Syntax: say '+++ SYNTAX error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) Call Exit 20 NoValue: say '+++ NoValue error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) say '+++ Variable with no value is:' condition('Description') Call Exit 24 Explain: 'PIPE (NAME Explain)' , '| ' xfn xft xfm , '| INSIDE /ExplainBegin:/ /ExplainEnd:/' , '| PREFACE STRLITERAL /'xfn xft xfm 'help.../' , '| CONSOLE' Call Exit 0 /* ExplainBegin: Unless changed, TZDATES will produce a file suitable for inclusion in SYSTEM CONFIG on MAINT's CF1, CF2, etc. disks to define the Spring and Fall Daylight/Standard timezones. +-C+ -TZDATES--+--+--- +-timezone-+ +-?+ Where: timezone is the first character of the timezone to preface DT or ST. Default=C, as in CST and CDT. ? displays this command help. ExplainEnd: */ /* Epilog *** * Function - See Explain: subrtn above. * * Component of - z/VM Sysprog's Toolbox. * * Command format- See Explain: subrtn above. * * Called by - Prepared z/VM Sysprogs. * * Dependencies - VM/ESA * * Program Lang. - CMS REXX * * Date Written - ?* * Author- Michael R. Walter* * Changed | By | Description of Change* *
Re: Daylight Saving Time change
Hi, Rolly. Here's a table of the upcoming DST changes for the USA: YearDST Begins 2 a.m. DST Ends 2 a.m. (Second Sunday in March) (First Sunday in November) 2007 March 11 November 4 2008 March 9 November 2 2009 March 8 November 1 2010 March 14 November 7 2011 March 13 November 6 2012 March 11 November 4 2013 March 10 November 3 2014 March 9 November 2 2015 March 8 November 1 Roland P. Chung wrote: I found it in here: ftp://ftp.software.ibm.com/eserver/zseries/zos/vse/pdf3/zvse41/hint9mm2.pdf ...Rolly Oh, BTW, any one has the time change dates for 2009 - 201x? TIA. --- On *Thu, 10/15/09, Shimon Lebowitz /shim...@iname.com/* wrote: From: Shimon Lebowitz shim...@iname.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Received: Thursday, October 15, 2009, 3:09 PM Can you explain where this Hints and Tips is? I told our VSE guy about the AR command, and he said he looked through all the manuals and there is no such animal. Thanks, Shimon Original message Date: Wed, 14 Oct 2009 16:07:26 -0400 From: Edward M Martin emar...@aultman.com http://ca..mc881.mail.yahoo.com/mc/compose?to=emar...@aultman.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU http://ca.mc881.mail.yahoo.com/mc/compose?to=ib...@listserv.uark..edu Hello Ron, I found it in the Hints and Tips.. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU http://ca.mc881.mail.yahoo.com/mc/compose?to=ib...@listserv.uark.edu] On Behalf Of Ron Schmiedge Sent: Wednesday, October 14, 2009 4:06 PM To: IBMVM@LISTSERV.UARK.EDU http://ca.mc881.mail.yahoo.com/mc/compose?to=ib...@listserv.uark.edu Subject: Re: Daylight Saving Time change Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina rsmrc...@wi.rr..com http://ca.mc881.mail.yahoo.com/mc/compose?to=rsmrc...@wi.rr.com wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM. -- Dave Jones V/Soft www.vsoft-software.com Houston, TX 281.578.7544
Re: Daylight Saving Time change
Here are the dates I have coded in my SYSTEM CONFIG thru 2012. Jim Timezone_boundary on 2009-03-08 at 02:00:00 to EDT Timezone_boundary on 2009-11-01 at 02:00:00 to EST Timezone_boundary on 2010-03-14 at 02:00:00 to EDT Timezone_boundary on 2010-11-07 at 02:00:00 to EST Timezone_boundary on 2011-03-13 at 02:00:00 to EDT Timezone_boundary on 2011-11-06 at 02:00:00 to EST Timezone_boundary on 2012-03-11 at 02:00:00 to EDT Timezone_boundary on 2012-11-04 at 02:00:00 to EST Roland P. Chung wrote: --0-1738033401-1255620698=:61120 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I found it in here: =A0 ftp://ftp.software.ibm.com/eserver/zseries/zos/vse/pdf3/zvse41/hint9mm2.pdf =A0 Rolly =A0 Oh, BTW, any one has the time change dates for 2009 - 201x? TIA. --- On Thu, 10/15/09, Shimon Lebowitz shim...@iname.com wrote: From: Shimon Lebowitz shim...@iname.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Received: Thursday, October 15, 2009, 3:09 PM Can you explain where this "Hints and Tips" is? I told=20 our VSE guy about the AR command, and he said he looked through all the manuals and there is no such animal. Thanks, Shimon Original message Date:=A0=A0 Wed, 14 Oct 2009 16:07:26 -0400 From:=A0=A0 Edward M Martin emar...@aultman.com=A0=20 Subject:=A0=A0 Re: Daylight Saving Time change=A0=20 To:=A0=A0 IBMVM@LISTSERV.UARK.EDU Hello Ron, I found it in the Hints and Tips. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System=20 [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Ron Schmiedge Sent: Wednesday, October 14, 2009 4:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina=20 rsmrc...@wi.rr.com wrote: Jim's process is solid. =A0On the z/VSE web site there is a=20 page that describes what needs to be done during the twice yearly=20 time change (forward and backward). =A0Of course, now I can't find it, apparently=20 it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE=20 can get the new offset with the AR command TIME ZONE=3DVM. --0-1738033401-1255620698=:61120 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" trtd valign=3D"= top" style=3D"font: inherit;"DIVI found it in here:/DIV DIVnbsp;/DIV DIVA href="" class="moz-txt-link-rfc2396E" href="ftp://ftp.software.ibm.com/eserver/zseries/zos/vse/pdf3/zvs=e41/hint9mm2.pdf">"ftp://ftp.software.ibm.com/eserver/zseries/zos/vse/pdf3/zvs= e41/hint9mm2.pdf"ftp://ftp.software.ibm.com/eserver/zseries/zos/vse/pdf3/z= vse41/hint9mm2.pdf/A/DIV DIVnbsp;/DIV DIV...Rolly/DIV DIVnbsp;/DIV DIVOh, BTW, any one has the time change dates for 2009 - 201x? TIA.BRB= R--- On BThu, 10/15/09, Shimon Lebowitz Ilt;shim...@iname.comgt;/I= /B wrote:BR/DIV BLOCKQUOTE style=3D"BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5= px; MARGIN-LEFT: 5px"BRFrom: Shimon Lebowitz lt;shim...@iname.comgt;B= RSubject: Re: Daylight Saving Time changeBRTo: IBMVM@LISTSERV.UARK.EDUB= RReceived: Thursday, October 15, 2009, 3:09 PMBRBR DIV class=3DplainMailCan you explain where this "Hints and Tips" is? I to= ld BRour VSE guy about the AR command, and he said he lookedBRthrough a= ll the manuals and there is no such animal.BRBRThanks,BRShimonBRBR= Original message BRgt;Date:nbsp;nbsp; Wed, 14 Oct 2009 16:07= :26 -0400BRgt;From:nbsp;nbsp; Edward M Martin lt;A href="" class="moz-txt-link-rfc2396E" href="http://ca=..mc881.mail.yahoo.com/mc/compose?to=3demar...@aultman.com">"http://ca= ..mc881.mail.yahoo.com/mc/compose?to=3demar...@aultman.com" ymailto=3D"mailt= o:emar...@aultman.com"emar...@aultman.com/Agt;nbsp; BRgt;Subject:n= bsp;nbsp; Re: Daylight Saving Time changenbsp; BRgt;To:nbsp;nbsp; A= href="" class="moz-txt-link-rfc2396E" href="http://ca.mc881.mail.yahoo.com/mc/compose?to=3dib...@listserv.uark=..edu">"http://ca.mc881.mail.yahoo.com/mc/compose?to=3dib...@listserv.uark= ..EDU" ymailto=3D"mailto:IBMVM@LISTSERV.UARK.EDU"IBMVM@LISTSERV.UARK.EDU/A= BRgt;BRgt;Hello Ron,BRgt;BRgt;I found it in the Hints and Tips= ..BRgt;BRgt;Ed MartinBRgt;Aultman Health FoundationBRgt;330-363-= 5050BRgt;ext 35050BRgt;BRgt;-Original Message-BRgt;From= : The IBM z/VM Operating System BR[mailto:A href="" class="moz-txt-link-rfc2396E" href
Re: Daylight Saving Time change
Thanks a lot Mike. Works wonder. Here is my contribution: 2 files based on EST and EDT for VM VSE. Rolly --- On Thu, 10/15/09, Mike Walter mike.wal...@hewitt.com wrote: From: Mike Walter mike.wal...@hewitt.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Received: Thursday, October 15, 2009, 3:50 PM ...Rolly Oh, BTW, any one has the time change dates for 2009 - 201x? TIA. Run the TZDATES EXEC pasted below. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. /* Prolog; See Epilog for additional information * Exec Name - TZDATES EXEC * * Unit Support - OSS/VM * * Status - Version 2, Release 1.0 * / address 'COMMAND' parse source xos xct xfn xft xfm xcmd xenvir . parse upper arg parms 1 operands '(' options ')' parmrest If operands='?' then Signal Explain parse var operands tz . If tz='' then tz='C' ltz=length(tz) If ltz1 then Do say xfn'; Invalid timezone character, length not 1.' , 'Found 'tzc'.' say 'For more help, issue:' xfn '?' Call Exit 20 End resultfile=xfn 'BOUNDS A' 'FINIS' resultfile 'ERASE' resultfile Signal ON Error Do ix=2007 to 2041 /* What years do we want to cover? */ /* As of 2005-09-27, dates beginning in 2042 cause error msg: */ /* HCPZPM6706E Invalid date - 2042-mm-dd */ /* There's time for an APAR before then... */ spring=GetSpring(ix) fall =GetFall(ix) 'EXECIO 1 DISKW' resultfile '0 F 80 (STRING' spring 'EXECIO 1 DISKW' resultfile '0 F 80 (STRING' fall End 'FINIS' resultfile say xfn 'results are now contained in file:' resultfile Call Exit rc // /* Sub-Routines below this point */ // Exit: parse arg exitrc . If verify(exitrc,'-0123456789')=0 then Exit exitrc else Exit 99 GetSpring: parse arg year . /* Find 1st Sunday in March, beginning in 2007 per the: */ /* U.S. Government Energy Policy Act of 2005. */ Do dx=year||0301 by 1 for 7 until dow='Sunday' dow=date('W',dx,'S') End dx=dx+7 /* Ooooh, easy date math! Add 14 for 2nd Sunday in March*/ spring='Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to' tz'DT' /* Change to Daylight Time */ Return spring GetFall: parse arg year . /* Find 1st Sunday in November beginning in 2007 per the: */ /* U.S. Government Energy Policy Act of 2005. */ Do dx=year||1101 by 1 for 7 If date('W',dx,'S')'Sunday' then Iterate Return 'Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to' tz'ST' /* Change to Standard Time */ End Return Error: say '+++ ERROR error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) Exit 20 Syntax: say '+++ SYNTAX error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) Call Exit 20 NoValue: say '+++ NoValue error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) say '+++ Variable with no value is:' condition('Description') Call Exit 24 Explain: 'PIPE (NAME Explain)' , '| ' xfn xft xfm , '| INSIDE /ExplainBegin:/ /ExplainEnd:/' , '| PREFACE STRLITERAL /'xfn xft xfm 'help.../' , '| CONSOLE' Call Exit 0 /* ExplainBegin: Unless changed, TZDATES will produce a file suitable for inclusion in SYSTEM CONFIG on MAINT's CF1, CF2, etc. disks to define the Spring and Fall Daylight/Standard timezones. +-C+ -TZDATES--+--+--- +-timezone-+ +-?+ Where: timezone is the first character of the timezone to preface DT or ST. Default=C, as in CST and CDT. ? displays this command help. ExplainEnd: */ /* Epilog *** * Function - See Explain: subrtn above. * * Component of - z/VM Sysprog's Toolbox. * * Command format- See Explain: subrtn above. * * Called by - Prepared z/VM Sysprogs. * * Dependencies - VM/ESA * * Program Lang
Re: Daylight Saving Time change
Roland, You're an optimistic guy. Dates to 2041 :) Billy Roland P. Chung roland.ch...@rogers.com wrote: Thanks a lot Mike. Works wonder. Here is my contribution: 2 files based on EST and EDT for VM VSE. Rolly --- On Thu, 10/15/09, Mike Walter mike.wal...@hewitt.com wrote: From: Mike Walter mike.wal...@hewitt.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Received: Thursday, October 15, 2009, 3:50 PM ...Rolly Oh, BTW, any one has the time change dates for 2009 - 201x? TIA. Run the TZDATES EXEC pasted below. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. /* Prolog; See Epilog for additional information * Exec Name - TZDATES EXEC * * Unit Support - OSS/VM * * Status - Version 2, Release 1.0 * / address 'COMMAND' parse source xos xct xfn xft xfm xcmd xenvir . parse upper arg parms 1 operands '(' options ')' parmrest If operands='?' then Signal Explain parse var operands tz . If tz='' then tz='C' ltz=length(tz) If ltz1 then Do say xfn'; Invalid timezone character, length not 1.' , 'Found 'tzc'.' say 'For more help, issue:' xfn '?' Call Exit 20 End resultfile=xfn 'BOUNDS A' 'FINIS' resultfile 'ERASE' resultfile Signal ON Error Do ix=2007 to 2041 /* What years do we want to cover? */ /* As of 2005-09-27, dates beginning in 2042 cause error msg: */ /* HCPZPM6706E Invalid date - 2042-mm-dd */ /* There's time for an APAR before then... */ spring=GetSpring(ix) fall =GetFall(ix) 'EXECIO 1 DISKW' resultfile '0 F 80 (STRING' spring 'EXECIO 1 DISKW' resultfile '0 F 80 (STRING' fall End 'FINIS' resultfile say xfn 'results are now contained in file:' resultfile Call Exit rc // /* Sub-Routines below this point */ // Exit: parse arg exitrc . If verify(exitrc,'-0123456789')=0 then Exit exitrc else Exit 99 GetSpring: parse arg year . /* Find 1st Sunday in March, beginning in 2007 per the: */ /* U.S. Government Energy Policy Act of 2005. */ Do dx=year||0301 by 1 for 7 until dow='Sunday' dow=date('W',dx,'S') End dx=dx+7 /* Ooooh, easy date math! Add 14 for 2nd Sunday in March*/ spring='Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to' tz'DT' /* Change to Daylight Time */ Return spring GetFall: parse arg year . /* Find 1st Sunday in November beginning in 2007 per the: */ /* U.S. Government Energy Policy Act of 2005. */ Do dx=year||1101 by 1 for 7 If date('W',dx,'S')'Sunday' then Iterate Return 'Timezone_Boundary on' , date('S',dx,'S','-') , /* In -mm-dd fmt */ 'at 02:00:00 to' tz'ST' /* Change to Standard Time */ End Return Error: say '+++ ERROR error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) Exit 20 Syntax: say '+++ SYNTAX error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) Call Exit 20 NoValue: say '+++ NoValue error routine entered in:' xfn xft xfm', rc='rc say '+++ from line:' sigl', which reads:' say '+++'sourceline(sigl) say '+++ Variable with no value is:' condition('Description') Call Exit 24 Explain: 'PIPE (NAME Explain)' , '| ' xfn xft xfm , '| INSIDE /ExplainBegin:/ /ExplainEnd:/' , '| PREFACE STRLITERAL /'xfn xft xfm 'help.../' , '| CONSOLE' Call Exit 0 /* ExplainBegin: Unless changed, TZDATES will produce a file suitable for inclusion in SYSTEM CONFIG on MAINT's CF1, CF2, etc. disks to define the Spring and Fall Daylight/Standard timezones. +-C+ -TZDATES--+--+--- +-timezone-+ +-?+ Where: timezone is the first character of the timezone to preface DT or ST. Default=C, as in CST and CDT. ? displays this command help. ExplainEnd: */ /* Epilog *** * Function - See Explain: subrtn above. * * Component of - z
Re: Daylight Saving Time change
I found it in here: ftp://ftp.software.ibm.com/eserver/zseries/zos/vse/pdf3/zvse41/hint9mm2.pdf Thanks Rolly and Bob! -- Shimon Lebowitzmailto:shim...@iname.com VM System Programmer . Israel Police National HQ. Jerusalem, Israel phone: +972 2 542-9877 fax: 542-9308
Re: Daylight Saving Time change
Hey! You managed to get attachments thru! From: Roland P. Chung roland.ch...@rogers.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Thanks a lot Mike. Works wonder. Here is my contribution: 2 files based on EST and EDT for VM VSE. ...Rolly
Re: Daylight Saving Time change
I have a little VM REXX program that will generate either the VM or VSE statements for the next 5 years: Timezone_Boundary on 2009-11-01 at 02:00:00 to CST Timezone_Boundary on 2010-03-14 at 02:00:00 to CDT Timezone_Boundary on 2010-11-07 at 02:00:00 to CST Timezone_Boundary on 2011-03-13 at 02:00:00 to CDT Timezone_Boundary on 2011-11-06 at 02:00:00 to CST Timezone_Boundary on 2012-03-11 at 02:00:00 to CDT Timezone_Boundary on 2012-11-04 at 02:00:00 to CST Timezone_Boundary on 2013-03-10 at 02:00:00 to CDT Timezone_Boundary on 2013-11-03 at 02:00:00 to CST Or SET ZONEBDY,DATE=11/01/2009,CLOCK=02/00/00,CST SET ZONEBDY,DATE=03/14/2010,CLOCK=02/00/00,CDT SET ZONEBDY,DATE=11/07/2010,CLOCK=02/00/00,CST SET ZONEBDY,DATE=03/13/2011,CLOCK=02/00/00,CDT SET ZONEBDY,DATE=11/06/2011,CLOCK=02/00/00,CST SET ZONEBDY,DATE=03/11/2012,CLOCK=02/00/00,CDT SET ZONEBDY,DATE=11/04/2012,CLOCK=02/00/00,CST SET ZONEBDY,DATE=03/10/2013,CLOCK=02/00/00,CDT SET ZONEBDY,DATE=11/03/2013,CLOCK=02/00/00,CST Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Henry, Bob Sent: Thursday, October 15, 2009 10:39 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change You can also find it here along with other useful doc. http://www-03.ibm.com/servers/eserver/zseries/zvse/documentation/#hints -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Shimon Lebowitz Sent: Thursday, October 15, 2009 11:10 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Can you explain where this Hints and Tips is? I told our VSE guy about the AR command, and he said he looked through all the manuals and there is no such animal. Thanks, Shimon Original message Date: Wed, 14 Oct 2009 16:07:26 -0400 From: Edward M Martin emar...@aultman.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Hello Ron, I found it in the Hints and Tips. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Ron Schmiedge Sent: Wednesday, October 14, 2009 4:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina rsmrc...@wi.rr.com wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM. _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: Daylight Saving Time change
Ya. In .TXT format. That is the trick. ;o) Rolly --- On Thu, 10/15/09, Shimon Lebowitz shim...@iname.com wrote: From: Shimon Lebowitz shim...@iname.com Subject: Re: Daylight Saving Time change To: IBMVM@LISTSERV.UARK.EDU Received: Thursday, October 15, 2009, 5:16 PM Hey! You managed to get attachments thru! From: Roland P. Chung roland.ch...@rogers.com Subject: Re: Daylight Saving Time change To: ib...@listserv.uark.edu Thanks a lot Mike. Works wonder. Here is my contribution: 2 files based on EST and EDT for VM VSE. ...Rolly
Re: Daylight Saving Time change
If changing the TOD on the fly affects the Accounting records and Billing is calculated from them, isn't that a problem? Les Rich Smrcina wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM. The CICS 'CEMT PERFORM RESET' commands will reset CICS's clock to the new OS time. Any other clock sensitive running jobs will need to be restarted as they will have the old clock setting. The one hour wait is only required in the fall, in the spring everything can continue as normal. An IPL is not required. I have customers that do not IPL for time changes and haven't for many, many years. Kris Buelens wrote: For VSE, what I learned: from the ASIPROC remove SET DATE remove SET ZONE remove SET ZONEDEF remove SET ZONEBDY Then VSE would take the definitions of the VM system under which it is running. You still need to reIPL the VSE guests when the timezone changes. For VMUTIL:no problems to expect. A bit simplified: a z Series has no timer to tell wake me up at hh:mm:ss; Wakeup allows hh:mm:ss. The z Series has wake me up in seconds. So VMUTIL converts the next coming hh:mm:ss it finds in its WAKEUP file into wakup up in xyz seconds. If the timezone changes in the mean time, VMUTIL won't see that. But, when the xyz seconds have elapsed, it'll wake up, execute what was wanted and scan its wakeup file again for anything that is either late (and wakeup directly) or the first coming event and set the xxx seconds timer again. etc 2009/10/13 David L. Craig d...@radix.net mailto:d...@radix.net On Tue, Oct 13, 2009 at 08:35:01AM -0500, Frank M. Ramaekers wrote: How do you accomplish this change? (Especially with guests O/S's, like VSE, and timing related service machines, like VMUTIL). I come into the Data Center, bring down our VSE/ESA 1.7 and 2.2 virtual machines, SET TIMEZONE EST, and autolog the VSE machines back on. Some shops wait an hour but that hasn't caused us any problems. -- May the LORD God bless you exceedingly abundantly! Dave Craig - - - - - - - - - - - - - - - - - - - - 'So the universe is not quite as you thought it was. You'd better rearrange your beliefs, then. Because you certainly can't rearrange the universe.' --from _Nightfall_ by Asimov/Silverberg -- Kris Buelens, IBM Belgium, VM customer support
Re: Daylight Saving Time change
The (virtual) TOD clock doesn't get changed, the offset is changed. Les Koehler wrote: If changing the TOD on the fly affects the Accounting records and Billing is calculated from them, isn't that a problem? Les -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-14, 2010 Covington, KY
Re: Daylight Saving Time change
Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina rsmrc...@wi.rr.com wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM.
Re: Daylight Saving Time change
Hello Ron, I found it in the Hints and Tips. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Ron Schmiedge Sent: Wednesday, October 14, 2009 4:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina rsmrc...@wi.rr.com wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM.
Re: Daylight Saving Time change
Thanks! On Wed, Oct 14, 2009 at 2:07 PM, Edward M Martin emar...@aultman.com wrote: Hello Ron, I found it in the Hints and Tips. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Ron Schmiedge Sent: Wednesday, October 14, 2009 4:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change Where is this AR command documented? On Tue, Oct 13, 2009 at 6:22 PM, Rich Smrcina rsmrc...@wi.rr.com wrote: Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM.
Re: Daylight Saving Time change
On Tue, Oct 13, 2009 at 08:35:01AM -0500, Frank M. Ramaekers wrote: How do you accomplish this change? (Especially with guests O/S's, like VSE, and timing related service machines, like VMUTIL). I come into the Data Center, bring down our VSE/ESA 1.7 and 2.2 virtual machines, SET TIMEZONE EST, and autolog the VSE machines back on. Some shops wait an hour but that hasn't caused us any problems. -- May the LORD God bless you exceedingly abundantly! Dave Craig - - - - - - - - - - - - - - - - - - - - 'So the universe is not quite as you thought it was. You'd better rearrange your beliefs, then. Because you certainly can't rearrange the universe.' --from _Nightfall_ by Asimov/Silverberg
Re: Daylight Saving Time change
We have our z9 set to GMT/UCT. We code the necessary Timezone_definition and Timezone_boundary statements in SYSTEM CONFIG. You can code Timezone_boundary statements for many years ahead. We don't define anything in the VSE guests. On Sunday morning, we bring down all our VSE's, and VMs. We wait 1 hour to avoid any double timestamps in logs and files and databases. Then we restart everything. When VM is IPL'ed (and only then) it selects the correct timezone from SYSTEM CONFIG Timezone definitions. The VSE guests then automatically use the same timezone as VM. Depending on your setup you could keep VM running and issue a SET TIMEZONE command, but we think it's safer to just stop VM during 1 hour. It's also a good excuse to have the z9 for ourselves for a while and do all those changes that have been waiting to go into production... Geert. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Frank M. Ramaekers Sent: dinsdag 13 oktober 2009 15:35 To: IBMVM@LISTSERV.UARK.EDU Subject: Daylight Saving Time change How do you accomplish this change? (Especially with guests O/S's, like VSE, and timing related service machines, like VMUTIL). Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. DISCLAIMER This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmas...@vanbreda.be This footnote also confirms that this email has been checked for the presence of viruses. Informatica J.Van Breda Co NV BTW BE 0427 908 174
Re: Daylight Saving Time change
Just a note that with Linux guests -- you don't need to worry about them... they'll adjust their clocks on their own. For other guests, you can recycle them after issuing SET TIMEZONE. VMUTIL can just be recycled -- since it's already done the events and noted them in VMUTIL SCHEDULE - it won't repeat them. Scott On Tue, Oct 13, 2009 at 7:35 AM, Frank M. Ramaekers framaek...@ailife.comwrote: How do you accomplish this change? (Especially with guests O/S's, like VSE, and timing related service machines, like VMUTIL). Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: Daylight Saving Time change
For VSE, what I learned: from the ASIPROC remove SET DATE remove SET ZONE remove SET ZONEDEF remove SET ZONEBDY Then VSE would take the definitions of the VM system under which it is running. You still need to reIPL the VSE guests when the timezone changes. For VMUTIL:no problems to expect. A bit simplified: a z Series has no timer to tell wake me up at hh:mm:ss; Wakeup allows hh:mm:ss. The z Series has wake me up in seconds. So VMUTIL converts the next coming hh:mm:ss it finds in its WAKEUP file into wakup up in xyz seconds. If the timezone changes in the mean time, VMUTIL won't see that. But, when the xyz seconds have elapsed, it'll wake up, execute what was wanted and scan its wakeup file again for anything that is either late (and wakeup directly) or the first coming event and set the xxx seconds timer again. etc 2009/10/13 David L. Craig d...@radix.net On Tue, Oct 13, 2009 at 08:35:01AM -0500, Frank M. Ramaekers wrote: How do you accomplish this change? (Especially with guests O/S's, like VSE, and timing related service machines, like VMUTIL). I come into the Data Center, bring down our VSE/ESA 1.7 and 2.2 virtual machines, SET TIMEZONE EST, and autolog the VSE machines back on. Some shops wait an hour but that hasn't caused us any problems. -- May the LORD God bless you exceedingly abundantly! Dave Craig - - - - - - - - - - - - - - - - - - - - 'So the universe is not quite as you thought it was. You'd better rearrange your beliefs, then. Because you certainly can't rearrange the universe.' --from _Nightfall_ by Asimov/Silverberg -- Kris Buelens, IBM Belgium, VM customer support
Re: Daylight Saving Time change
You do not have to re IPL VSE unless you want to. I have removed all the SETs from the ASIPROC as shown by Kris. Now what I do here at my shop is this and it is all automated. I set time zone to vm; close and disable all the application files in CICSs; reset the time on each of the CICSs on VSE; wait an hour; open and enable all the application files in CICSs. I have listed the job below: * $$ JOB JNM=SETZONE,CLASS=0,USER=JDMAINT,DUEDATE=110208,DUETIME=0202 * $$ LST CLASS=A,JSEP=0,DEST=(*,JDMAINT) * $$ PUN CLASS=A,JSEP=0,DEST=(*,JDMAINT) // JOB SETZONE // EXEC PGM=DTRIATTN,PARM='TIME ZONE=VM' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='10' // EXEC PGM=DTRIATTN,PARM='MSG F2,DATA=CEMT CEMT S FI(*) CLO DIS' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='2' // EXEC PGM=DTRIATTN,PARM='MSG F2,DATA=CEMT PERFORM RESET' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='2' // EXEC PGM=DTRIATTN,PARM='MSG F4,DATA=CEMT CEMT S FI(*) CLO DIS' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='2' // EXEC PGM=DTRIATTN,PARM='MSG F4,DATA=CEMT PERFORM RESET' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='2' // EXEC PGM=DTRIATTN,PARM='MSG F5,DATA=CEMT CEMT S FI(*) CLO DIS' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='2' // EXEC PGM=DTRIATTN,PARM='MSG F5,DATA=CEMT PERFORM RESET' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='3720' // EXEC PGM=DTRIATTN,PARM='MSG F2,DATA=CEMT CEMT S FI(*) OPE ENA' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='2' // EXEC PGM=DTRIATTN,PARM='MSG F4,DATA=CEMT CEMT S FI(*) OPE ENA' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='2' // EXEC PGM=DTRIATTN,PARM='MSG F5,DATA=CEMT CEMT S FI(*) OPE ENA' // EXEC PGM=IPLWAIT,SIZE=AUTO,PARM='2' /* EOD / * $$ EOJ Jim Dodds Systems Programmer Kentucky State University 400 East Main Street Frankfort, Ky 40601 502 597 6114 From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Kris Buelens Sent: Tuesday, October 13, 2009 10:25 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Daylight Saving Time change For VSE, what I learned: from the ASIPROC remove SET DATE remove SET ZONE remove SET ZONEDEF remove SET ZONEBDY Then VSE would take the definitions of the VM system under which it is running. You still need to reIPL the VSE guests when the timezone changes. For VMUTIL:no problems to expect. A bit simplified: a z Series has no timer to tell wake me up at hh:mm:ss; Wakeup allows hh:mm:ss. The z Series has wake me up in seconds. So VMUTIL converts the next coming hh:mm:ss it finds in its WAKEUP file into wakup up in xyz seconds. If the timezone changes in the mean time, VMUTIL won't see that. But, when the xyz seconds have elapsed, it'll wake up, execute what was wanted and scan its wakeup file again for anything that is either late (and wakeup directly) or the first coming event and set the xxx seconds timer again. etc 2009/10/13 David L. Craig d...@radix.net On Tue, Oct 13, 2009 at 08:35:01AM -0500, Frank M. Ramaekers wrote: How do you accomplish this change? (Especially with guests O/S's, like VSE, and timing related service machines, like VMUTIL). I come into the Data Center, bring down our VSE/ESA 1.7 and 2.2 virtual machines, SET TIMEZONE EST, and autolog the VSE machines back on. Some shops wait an hour but that hasn't caused us any problems. -- May the LORD God bless you exceedingly abundantly! Dave Craig - - - - - - - - - - - - - - - - - - - - 'So the universe is not quite as you thought it was. You'd better rearrange your beliefs, then. Because you certainly can't rearrange the universe.' --from _Nightfall_ by Asimov/Silverberg -- Kris Buelens, IBM Belgium, VM customer support
Re: Daylight Saving Time change
This avoids overlapping accounting records as well. Real important if you bill from them! Les Dieltiens Geert wrote: We have our z9 set to GMT/UCT. We code the necessary Timezone_definition and Timezone_boundary statements in SYSTEM CONFIG. You can code Timezone_boundary statements for many years ahead. We don't define anything in the VSE guests. On Sunday morning, we bring down all our VSE's, and VMs. We wait 1 hour to avoid any double timestamps in logs and files and databases. Then we restart everything. When VM is IPL'ed (and only then) it selects the correct timezone from SYSTEM CONFIG Timezone definitions. The VSE guests then automatically use the same timezone as VM. Depending on your setup you could keep VM running and issue a SET TIMEZONE command, but we think it's safer to just stop VM during 1 hour. It's also a good excuse to have the z9 for ourselves for a while and do all those changes that have been waiting to go into production... Geert. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Frank M. Ramaekers Sent: dinsdag 13 oktober 2009 15:35 To: IBMVM@LISTSERV.UARK.EDU Subject: Daylight Saving Time change How do you accomplish this change? (Especially with guests O/S's, like VSE, and timing related service machines, like VMUTIL). Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. DISCLAIMER This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmas...@vanbreda.be This footnote also confirms that this email has been checked for the presence of viruses. Informatica J.Van Breda Co NV BTW BE 0427 908 174
Re: Daylight Saving Time change
Jim's process is solid. On the z/VSE web site there is a page that describes what needs to be done during the twice yearly time change (forward and backward). Of course, now I can't find it, apparently it's buried. In a nutshell, after the timezone is set in z/VM, z/VSE can get the new offset with the AR command TIME ZONE=VM. The CICS 'CEMT PERFORM RESET' commands will reset CICS's clock to the new OS time. Any other clock sensitive running jobs will need to be restarted as they will have the old clock setting. The one hour wait is only required in the fall, in the spring everything can continue as normal. An IPL is not required. I have customers that do not IPL for time changes and haven't for many, many years. Kris Buelens wrote: For VSE, what I learned: from the ASIPROC remove SET DATE remove SET ZONE remove SET ZONEDEF remove SET ZONEBDY Then VSE would take the definitions of the VM system under which it is running. You still need to reIPL the VSE guests when the timezone changes. For VMUTIL:no problems to expect. A bit simplified: a z Series has no timer to tell wake me up at hh:mm:ss; Wakeup allows hh:mm:ss. The z Series has wake me up in seconds. So VMUTIL converts the next coming hh:mm:ss it finds in its WAKEUP file into wakup up in xyz seconds. If the timezone changes in the mean time, VMUTIL won't see that. But, when the xyz seconds have elapsed, it'll wake up, execute what was wanted and scan its wakeup file again for anything that is either late (and wakeup directly) or the first coming event and set the xxx seconds timer again. etc 2009/10/13 David L. Craig d...@radix.net mailto:d...@radix.net On Tue, Oct 13, 2009 at 08:35:01AM -0500, Frank M. Ramaekers wrote: How do you accomplish this change? (Especially with guests O/S's, like VSE, and timing related service machines, like VMUTIL). I come into the Data Center, bring down our VSE/ESA 1.7 and 2.2 virtual machines, SET TIMEZONE EST, and autolog the VSE machines back on. Some shops wait an hour but that hasn't caused us any problems. -- May the LORD God bless you exceedingly abundantly! Dave Craig - - - - - - - - - - - - - - - - - - - - 'So the universe is not quite as you thought it was. You'd better rearrange your beliefs, then. Because you certainly can't rearrange the universe.' --from _Nightfall_ by Asimov/Silverberg -- Kris Buelens, IBM Belgium, VM customer support -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-14, 2010 Covington, KY