<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Questions regarding SYS$TIME_ZONE_DIFFERENTIAL in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787746#M76386</link>
    <description>Andreas,&lt;BR /&gt;&lt;BR /&gt;This is untested, as I am in the middle of something (so I don't have a system that I can potentially disrupt at this instant).&lt;BR /&gt;&lt;BR /&gt;A casual examination of STS$MANAGER:UTC$TIME_SETUP.COM appears to indicate that there is a discrepancy between the displayed text "-13:00 &amp;lt; TDF &amp;lt; 13:00". The actual test appears to be:&lt;BR /&gt;&lt;BR /&gt;$  if (tdf_val .gt. max_tdf) .or. (tdf_val .le. min_tdf)&lt;BR /&gt;&lt;BR /&gt;Thus, the bounds checking would appear to be off by 1 minute. A possible (unchecked) fix would be to change the ".le." to ".lt." in the above cited line.&lt;BR /&gt;&lt;BR /&gt;This line was found on an Alpha 7.3-2 system. Checked casually (30 seconds of hand checking), I do not offhand see a problem with making this change. I would recommend testing it on a test environment before trying it on a production system.&lt;BR /&gt;&lt;BR /&gt;I hope that the above is helpful.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
    <pubDate>Sun, 14 May 2006 05:51:04 GMT</pubDate>
    <dc:creator>Robert Gezelter</dc:creator>
    <dc:date>2006-05-14T05:51:04Z</dc:date>
    <item>
      <title>Questions regarding SYS$TIME_ZONE_DIFFERENTIAL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787745#M76385</link>
      <description>Hello, &lt;BR /&gt;this is related to a migration from parts of an interface to a different machine.&lt;BR /&gt;I found a problem within the time stamps. &lt;BR /&gt;After the first analysis I'm think the reason are different values for SYS$TIME_ZONE_DIFFERENTIAL.&lt;BR /&gt;----------------------------&lt;BR /&gt;When I do a query on node A (an older vms system with VMS 6.1)&lt;BR /&gt;@sys$manager:utc$configure_tdf&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;                Configuring the Time Differential Factor&lt;BR /&gt; &lt;BR /&gt;        Enter ? anytime for help&lt;BR /&gt; &lt;BR /&gt;        [0]     Exit             &lt;BR /&gt;        [1]     Set the Time Differential Factor&lt;BR /&gt;        [2]     Display the Time Differential Factor  &lt;BR /&gt; &lt;BR /&gt;        * Please pick an option number [2]: 2&lt;BR /&gt; &lt;BR /&gt;SYSTEM TIME DIFFERENTIAL FACTOR = -13:00  (-46800 seconds).&lt;BR /&gt;LOCAL SYSTEM TIME               = 13-MAY-2006 22:47:55.71.&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;Doing the same on node B:&lt;BR /&gt;@sys$manager:utc$configure_tdf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    Configuring the Time Differential Factor (TDF)&lt;BR /&gt;&lt;BR /&gt;    Enter ? anytime for help&lt;BR /&gt;&lt;BR /&gt;    [0]     Exit&lt;BR /&gt;    [1]     Set the Time Differential Factor&lt;BR /&gt;    [2]     Display the Time Differential Factor&lt;BR /&gt;&lt;BR /&gt;  Please pick an option number [2]: 2&lt;BR /&gt;&lt;BR /&gt;    SYSTEM TIME DIFFERENTIAL FACTOR = 2:00  (7200 seconds).&lt;BR /&gt;    LOCAL SYSTEM TIME               = 13-MAY-2006 22:43:11.65.&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Node B will get the software from Node A. The easiest solution is (IMHO) to reconfigure Node B. But I can't do this. After some research within the wizard area and the superb ITRC forums I tried to use the non obsolete way:&lt;BR /&gt;&lt;BR /&gt;@sys$manager:utc$time_setup "" show&lt;BR /&gt;%UTC-I-UPDTIME, updating Time Zone information in SYS$COMMON:[SYSEXE]&lt;BR /&gt;Configure which time parameter (TIMEZONE/TDF/BOTH/NONE)? [BOTH] &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    Configuring the Local Time Zone&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    TIME ZONE SPECIFICATION -- Main Time Zone Menu&lt;BR /&gt;&lt;BR /&gt;      1) Australia       11) GMT             21) Mexico          31) Turkey&lt;BR /&gt;      2) Brazil          12) Greenwich       22) NZ              32) UCT&lt;BR /&gt;      3) CET             13) Hong Kong       23) NZ-CHAT         33) US&lt;BR /&gt;      4) Canada          14) Iceland         24) Navajo          34) UTC&lt;BR /&gt;      5) Chile           15) Iran            25) PRC             35) Universal&lt;BR /&gt;      6) Cuba            16) Israel          26) Poland          36) W-SU&lt;BR /&gt;      7) EET             17) Jamaica         27) ROC             37) WET&lt;BR /&gt;      8) Egypt           18) Japan           28) ROK             38) Zulu&lt;BR /&gt;      9) Factory         19) Libya           29) Singapore&lt;BR /&gt;     10) GB-Eire         20) MET             30) SystemV&lt;BR /&gt;&lt;BR /&gt;      0) None of the above&lt;BR /&gt;&lt;BR /&gt;  Select the number above that best represents the desired time zone: 20&lt;BR /&gt;&lt;BR /&gt;  You selected MET as your time zone.&lt;BR /&gt;  Is this correct? (Yes/No) [YES]: &lt;BR /&gt;&lt;BR /&gt;    Default Time Differential Factor for standard time is 1:00.&lt;BR /&gt;    Default Time Differential Factor for daylight saving time is 2:00.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    Configuring the Time Differential Factor (TDF)&lt;BR /&gt;&lt;BR /&gt;    Enter ? anytime for help&lt;BR /&gt;&lt;BR /&gt;    [0]     Exit&lt;BR /&gt;    [1]     Set the Time Differential Factor&lt;BR /&gt;    [2]     Display the Time Differential Factor&lt;BR /&gt;&lt;BR /&gt;  Please pick an option number [2]: 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    The Time Differential Factor (TDF) is the difference between your&lt;BR /&gt;    system time and Coordinated Universal Time (UTC).  UTC is similar&lt;BR /&gt;    in most repects to Greenwich Mean Time (GMT).&lt;BR /&gt;&lt;BR /&gt;    The TDF is expressed as hours and minutes, and should be entered&lt;BR /&gt;    in the hh:mm format.  TDFs for the Americas will be negative&lt;BR /&gt;    (-3:00, -4:00, etc.); TDFs for Europe, Africa, Asia and Australia&lt;BR /&gt;    will be positive (1:00, 2:00, etc.).&lt;BR /&gt;&lt;BR /&gt;  Is Daylight Savings time in effect? (Yes/No): -13:00&lt;BR /&gt;    You must enter  "YES" or "NO"!&lt;BR /&gt;  Is Daylight Savings time in effect? (Yes/No): yes&lt;BR /&gt;&lt;BR /&gt;  Enter the Time Differential Factor [2:00]: -13:00&lt;BR /&gt;&lt;BR /&gt;  %UTC-E-ILLTDFVAL, -13:00 is not a legal TDF value&lt;BR /&gt;  %UTC-I-TDFRANGE, response must be in the range -13:00 &amp;gt; TDF &amp;lt; 13:00&lt;BR /&gt;&lt;BR /&gt;    Type CTRL-Y to goto the first menu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    The Time Differential Factor (TDF) is the difference between your&lt;BR /&gt;    system time and Coordinated Universal Time (UTC).  UTC is similar&lt;BR /&gt;    in most repects to Greenwich Mean Time (GMT).&lt;BR /&gt;&lt;BR /&gt;    The TDF is expressed as hours and minutes, and should be entered&lt;BR /&gt;    in the hh:mm format.  TDFs for the Americas will be negative&lt;BR /&gt;    (-3:00, -4:00, etc.); TDFs for Europe, Africa, Asia and Australia&lt;BR /&gt;    will be positive (1:00, 2:00, etc.).&lt;BR /&gt;&lt;BR /&gt;  Is Daylight Savings time in effect? (Yes/No): &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a way to set the TDF to -13:00? Even though negative values are for america, but I hope, this is the easiest way to get rid of this last problem during the migration. &lt;BR /&gt;&lt;BR /&gt;The source code isn't documented in this part and over 10 years old, so I would be very happy to get rid of this problem with an easier to handle system configuration.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Sun, 14 May 2006 01:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787745#M76385</guid>
      <dc:creator>Andreas Fassl</dc:creator>
      <dc:date>2006-05-14T01:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding SYS$TIME_ZONE_DIFFERENTIAL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787746#M76386</link>
      <description>Andreas,&lt;BR /&gt;&lt;BR /&gt;This is untested, as I am in the middle of something (so I don't have a system that I can potentially disrupt at this instant).&lt;BR /&gt;&lt;BR /&gt;A casual examination of STS$MANAGER:UTC$TIME_SETUP.COM appears to indicate that there is a discrepancy between the displayed text "-13:00 &amp;lt; TDF &amp;lt; 13:00". The actual test appears to be:&lt;BR /&gt;&lt;BR /&gt;$  if (tdf_val .gt. max_tdf) .or. (tdf_val .le. min_tdf)&lt;BR /&gt;&lt;BR /&gt;Thus, the bounds checking would appear to be off by 1 minute. A possible (unchecked) fix would be to change the ".le." to ".lt." in the above cited line.&lt;BR /&gt;&lt;BR /&gt;This line was found on an Alpha 7.3-2 system. Checked casually (30 seconds of hand checking), I do not offhand see a problem with making this change. I would recommend testing it on a test environment before trying it on a production system.&lt;BR /&gt;&lt;BR /&gt;I hope that the above is helpful.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Sun, 14 May 2006 05:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787746#M76386</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-05-14T05:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding SYS$TIME_ZONE_DIFFERENTIAL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787747#M76387</link>
      <description>Dear Bob,&lt;BR /&gt;&lt;BR /&gt;thanks, found this as an option, too. But is this a supported value anyway?&lt;BR /&gt;The usage of x &amp;lt; y with x.lt.y is correct (to be some sort of a smart one, :-)).&lt;BR /&gt;If noone has got another hint, I'll think I'll try this, you get heaps of points and I'll close the thread.&lt;BR /&gt;&lt;BR /&gt;Thanks alot,&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Sun, 14 May 2006 14:51:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787747#M76387</guid>
      <dc:creator>Andreas Fassl</dc:creator>
      <dc:date>2006-05-14T14:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding SYS$TIME_ZONE_DIFFERENTIAL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787748#M76388</link>
      <description>Andreas,&lt;BR /&gt;&lt;BR /&gt;It is not a guarantee, but this has the look of one of the more garden variety of coding errors (e.g., aka "+/- 1 errors"). Since the documentation is pretty clear, and virtually all offsets from UTC (formerly known as GMT) aka Zulu, I would try it, albeit with appropriate precautions.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Sun, 14 May 2006 16:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787748#M76388</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-05-14T16:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding SYS$TIME_ZONE_DIFFERENTIAL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787749#M76389</link>
      <description>Andreas,&lt;BR /&gt;&lt;BR /&gt;Also, you can check a world map which includes time zone offsets. I would think that it is reasonable to presume that the testing was done for everything up to and including the International Date Line.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Sun, 14 May 2006 16:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787749#M76389</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-05-14T16:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding SYS$TIME_ZONE_DIFFERENTIAL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787750#M76390</link>
      <description>If UTC$CONFIGURE_TDF doesn't recognise the full range of time zone offsets [-13.75 : +13.0] inclusive, then it's a bug. Please report it against your service contract.&lt;BR /&gt;&lt;BR /&gt;There was a similar TDF range check bug in SYSINIT.EXE, fixed in V7.2-2&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 14 May 2006 21:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787750#M76390</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-05-14T21:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding SYS$TIME_ZONE_DIFFERENTIAL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787751#M76391</link>
      <description>Very odd! &lt;BR /&gt;&lt;BR /&gt;I found a version of UTC$CONFIGURE_TDF.COM which has a documented fix dated 3-Dec-1999:&lt;BR /&gt;"New TDF verification: -25 =&amp;lt; TDF =&amp;lt; 25."&lt;BR /&gt;&lt;BR /&gt;The modification was made in response to requests from New Zealand customers who needed an offset of 13 hours. &lt;BR /&gt;&lt;BR /&gt;Looks like this didn't make it into a released version.&lt;BR /&gt;&lt;BR /&gt;Note that you will also need to corresponding SYSINIT change, otherwise there will be a TDF error on reboot.</description>
      <pubDate>Sun, 14 May 2006 22:04:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/questions-regarding-sys-time-zone-differential/m-p/3787751#M76391</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-05-14T22:04:43Z</dc:date>
    </item>
  </channel>
</rss>

