HP3000-L Archives

November 2010, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Newton, Ernie" <[log in to unmask]>
Reply To:
Newton, Ernie
Date:
Wed, 10 Nov 2010 12:33:37 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (590 lines)
It seems to be functioning now.  Something "happened" to my TZ variable.
I did a SETVAR TZ = "PST8PDT", then a SETCLOCK and now when I do a SHOWCLKS, all looks good.
Thanks to everyone for their help.
Happy Veterans Day to all on this side of the pond...
Ernie
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of donna hofmeister
Sent: Wednesday, November 10, 2010 12:17 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] Why won't my clock fall back?

This is an old version of the job I used at longs...

This job ran once a week -- mostly to sync the system clock.

I think the job got changed to incorporate some of Paul Christidis' coding brilliance (check raven it might be out there...) but the if statements certainly need changing to suit the whims of those who feel it necessary to monkey with when we change in/out of DST.

Other adjustments include adapting for your timezone.

You, of course, won't need to comment the ntp line because you're already running it, right??  Right?? ;-)

      - d
----------------------------------------------------
!job utltime,manager.sys;outclass=,5
!
!# from the help text for setclock....
!# Results of the Time Zone Form
!#
!#   If the change in time zone is to a later time (a change to Daylight
!#   Savings Time or an "Eastern" geographic movement), both local time
!#   and the time zone offset are changed immediately.
!#
!#   The effect is that users of local system time will see an immediate
!#   jump forward to the new time zone, while users of Universal Time
!#   will see no change.
!#
!#   If the change in time zone is to an earlier time (a change from
!#   Daylight Savings to Standard Time or a "Western" geographic
!#   movement), the time zone offset is changed immediately.  Then the
!#   local time slows down until the system time corresponds to the
!#   time in the new time zone.
!#
!#   The effect is that users of local system time will see a gradual
!#   slowdown to match the new time zone, while users of Universal Time
!#   will see an immediate forward jump, then a slowdown until the
!#   system time again matches "real" Universal Time.
!#
!#   This method of changing time zones ensures that no out-of-sequence
!#   time stamps will occur either in local time or in Universal Time.
!#
!showclock
!showjob job=@j
!
!setvar hpcierr 0
!continue
!/NTP/CURRENT/bin/ntpdate "-B time.longs.com"
!showvar hpcierr
!showvar
!
!tellop UTLTIME -- Pausing for time adjustment to complete....
!pause 120
!
!showclock
!
!if ( hpday = 1 and hpmonth = 4 and hpdate < 8 )
!#-- first sunday in april, switch to PDT...
!  setclock timezone=w7:00
!endif
!
!if ( hpday = 1 and hpmonth = 10 and hpdate > 24 )
!#-- last sunday in october; switch to PST...
!  setclock timezone=w8:00
!endif
!
!showclock
!showjob job=@j
!eoj

---
Donna Hofmeister
Allegro Consultants, Inc.
408-252-2330


> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
> Behalf Of Kris Williams
> Sent: Wednesday, November 10, 2010 11:50 AM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] Why won't my clock fall back?
>
> This is the batch job I use to change the time.
>
>
> !JOB SETCLOCK,MANAGER.SYS;HIPRI;OUTCLASS=LP,1
> !SETCLOCK TIMEZONE=W6:00
> !SHOWCLOCK
> !SETCLOCK;CANCEL
> !SHOWCLOCK
> !SETCLOCK DATE=11/07/10;TIME=01:00;NOW !PAUSE 5 !SHOWCLOCK !EOJ
>
> Thanks,
>
> Kris Williams
> Sr. Manager, CIS, ITIL v3
> Gen 9 V-Pilot
> CalsonicKansei North America
> [log in to unmask]
> (931) 680-6433 Direct
> (931) 684-2724 Fax
> (931) 205-3048 Cell
>
> Let's stop being passive and waiting to be told what to do, and
> instead let's make decisions ourselves.
>
> This e-mail may contain PRIVILEGED and CONFIDENTIAL information and is
> intended only for the use of the specific individual(s) to whom it is
> addressed.  If you are not the intended recipient of this e-mail, you
> are hereby notified that any unauthorized use, dissemination or
> copying of this e-mail of the information contained within or attached
> to it, is strictly prohibited.  If you have received this e-mail in
> error, please immediately notify the person named above by reply
> e-mail and delete the e-mail.  Thank you.
>
>
>
>
> From:
> Jack Connor <[log in to unmask]>
> To:
> [log in to unmask]
> Date:
> 11/10/2010 01:46 PM
> Subject:
> Re: [HP3000-L] Why won't my clock fall back?
>
>
>
> GMT at this mailing is 7:43PM, so your system clock is off by probably
> an hour.
>
> You can either use the SETCLOCK DATE=;TIME= to get it correct or use
> CLKUTIL at the ISL on a reboot...
>
> This is at least the ways I know how to fix it, but there may be
> others that can offer another solution.
>
> jack
>
> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
> Behalf Of Newton, Ernie
> Sent: Wednesday, November 10, 2010 2:24 PM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] Why won't my clock fall back?
>
> I guess I should've posted the entire thing.
>
> Here's the entire SHOWCLKS return...
>
> CI:SHOWCLKS.PUBXL.TELESUP
>
> SHOWCLKS/XL  A.10.00
>
> DEBUG/iX C.25.06
>
>
>
> HPDEBUG Intrinsic at: 360.00007258 PROGRAM+$198
>
> PRIV=$3 := $0
>
>
>
>   *************************************************************
>
>   ***                                                       ***
>
>   ***   Greenwich Mean Time : WED, NOV 10, 2010,  8:19 PM   ***
>
>   ***   GMT/MPE offset      : -8:00:00                      ***
>
>   ***   MPE System Time     : WED, NOV 10, 2010, 12:19 PM   ***
>
>   ***                                                       ***
>
>   *************************************************************
>
>
>
>                  **** C Library Information ****
>
>
>
>         Current value of Time Zone(TZ) variable : NOT ASSIGNED
>
>         CTIME function return :  Wed Nov 10 15:19:23 2010
>
> Ernie
>
>
>
> -----Original Message-----
> From: Jack Connor [mailto:[log in to unmask]]
> Sent: Wednesday, November 10, 2010 11:18 AM
> To: Newton, Ernie; [log in to unmask]
> Subject: RE: Why won't my clock fall back?
>
>
>
> What does GMT show? The system time should be offset 8 hours from that.
> If
> it's off, then that would explain the error.
>
>
>
> Do you have the notes on installing TZTAB? I think there's a version
> out on Client System's site if not.
>
>
>
> jack
>
>
>
> -----Original Message-----
>
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
> Behalf Of Newton, Ernie
>
> Sent: Wednesday, November 10, 2010 1:56 PM
>
> To: [log in to unmask]
>
> Subject: Re: [HP3000-L] Why won't my clock fall back?
>
>
>
> Hi Jack,
>
>
>
> I think you might be on to something.
>
>
>
> This is what SHOWCLKS shows at the end...
>
>
>
> Current value of Time Zone(TZ) variable : NOT ASSIGNED
>
>
>
> CTIME function return :  Wed Nov 10 14:47:59 2010
>
>
>
> Currently it's 10:52, so I don't know where 14:47 is coming from.
>
>
>
> And my Time Zone variable on my other system is PST8PDT.
>
>
>
> So, what now?
>
>
>
> Thanks,
>
>
>
> Ernie
>
>
>
> -----Original Message-----
>
> From: Jack Connor [mailto:[log in to unmask]]
>
> Sent: Wednesday, November 10, 2010 10:48 AM
>
> To: Newton, Ernie; [log in to unmask]
>
> Subject: RE: Why won't my clock fall back?
>
>
>
>
>
>
>
> Hi Ernie,
>
>
>
>
>
>
>
> Assuming you're on Pacific time, what does SHOWCLKS.PUBXL.TELESUP show?
>
>
>
>
>
>
>
> Here's a box in San Diego.
>
>
>
> :showclks.pubxl.telesup
>
>
>
> SHOWCLKS/XL  A.10.00
>
>
>
> DEBUG/iX C.25.06
>
>
>
>
>
>
>
> HPDEBUG Intrinsic at: 3d3.00007258 PROGRAM+$198
>
>
>
> PRIV=$3 := $0
>
>
>
>
>
>
>
>   *************************************************************
>
>
>
>   ***                                                       ***
>
>
>
>   ***   Greenwich Mean Time : WED, NOV 10, 2010,  6:39 PM   ***
>
>
>
>   ***   GMT/MPE offset      : -8:00:00                      ***
>
>
>
>   ***   MPE System Time     : WED, NOV 10, 2010, 10:39 AM   ***
>
>
>
>   ***                                                       ***
>
>
>
>   *************************************************************
>
>
>
>
>
>
>
>                  **** C Library Information ****
>
>
>
>
>
>
>
>         Current value of Time Zone(TZ) variable : PST8PDT
>
>
>
>         CTIME function return :  Wed Nov 10 10:39:09 2010
>
>
>
>
>
>
>
>
>
>
>
> :
>
>
>
> Jack
>
>
>
>
>
>
>
> -----Original Message-----
>
>
>
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
> Behalf Of Newton, Ernie
>
>
>
> Sent: Wednesday, November 10, 2010 1:27 PM
>
>
>
> To: [log in to unmask]<mailto:[log in to unmask]>
>
>
>
> Subject: [HP3000-L] Why won't my clock fall back?
>
>
>
>
>
>
>
> Greetings,
>
>
>
> I ran a job to set my clock back one hour, but it didn't.
>
>
>
> Looking at the STDLIST, it ran "SETCLOCK TIMEZONE = W8:00", but them
> came back with "CURRENT TIME CORRECTION:  0 SECONDS".
>
>
>
> The clock is still ahead by one hour.
>
>
>
> Can I just run SETCLOCK TIME=actual time...?
>
>
>
> Thanks,
>
>
>
> Ernie
>
>
>
>
>
>
>
> This message, including any attachments, is intended solely for the
> use of the named recipient(s) and may contain confidential and/or
> privileged information. Any unauthorized review, use, disclosure or
> distribution of this communication(s) is expressly prohibited. If you
> are not the intended recipient, please contact the sender by reply
> e-mail and destroy any and all copies of the original message.
>
>
>
>
>
>
>
> * To join/leave the list, search archives, change list settings, *
>
>
>
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>
>
>
>
>
>
> Be sure to ask us about short term and long term rentals on servers,
> workstations, storage and more!
>
>
>
>
>
>
>
> CONFIDENTIALITY NOTICE: This communication with its contents may
> contain
> confidential information. It is solely for the use of the intended
> recipient(s). Unauthorized interception, review, use or disclosure is
> prohibited and may violate applicable laws including the Electronic
> Communications Privacy Act. If you are not the intended recipient,
> please
> contact the sender and destroy all copies of the communication.
>
>
>
> ________________________________
>
> This message, including any attachments, is intended solely for the use
> of
> the named recipient(s) and may contain confidential and/or privileged
> information. Any unauthorized review, use, disclosure or distribution
> of
> this communication(s) is expressly prohibited. If you are not the
> intended
> recipient, please contact the sender by reply e-mail and destroy any
> and
> all copies of the original message.
>
>
>
> * To join/leave the list, search archives, change list settings, *
>
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>
>
> Be sure to ask us about short term and long term rentals on servers,
> workstations, storage and more!
>
>
>
> CONFIDENTIALITY NOTICE: This communication with its contents may
> contain
> confidential information. It is solely for the use of the intended
> recipient(s). Unauthorized interception, review, use or disclosure is
> prohibited and may violate applicable laws including the Electronic
> Communications Privacy Act. If you are not the intended recipient,
> please
> contact the sender and destroy all copies of the communication.
>
> ________________________________
> This message, including any attachments, is intended solely for the use
> of
> the named recipient(s) and may contain confidential and/or privileged
> information. Any unauthorized review, use, disclosure or distribution
> of
> this communication(s) is expressly prohibited. If you are not the
> intended
> recipient, please contact the sender by reply e-mail and destroy any
> and
> all copies of the original message.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> Be sure to ask us about short term and long term rentals on servers,
> workstations, storage and more!
>
> CONFIDENTIALITY NOTICE: This communication with its contents may
> contain
> confidential information. It is solely for the use of the intended
> recipient(s). Unauthorized interception, review, use or disclosure is
> prohibited and may violate applicable laws including the Electronic
> Communications Privacy Act. If you are not the intended recipient,
> please
> contact the sender and destroy all copies of the communication.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

This message, including any attachments, is intended solely for the use of the named recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure or distribution of this communication(s) is expressly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy any and all copies of the original message.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2