<?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: Time  got changed in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966856#M82573</link>
    <description>Anup,&lt;BR /&gt;&lt;BR /&gt;according to the final status code, it looks like that batch job has been deleted, before it got executed.&lt;BR /&gt;&lt;BR /&gt;For the future, you may want to enable TIME auditing: $ SET AUDIT/AUDIT/ENABLE=TIME&lt;BR /&gt;&lt;BR /&gt;Someone may still have executed a set time command manually. Are you running DTSS ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
    <pubDate>Thu, 22 Mar 2007 07:19:51 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2007-03-22T07:19:51Z</dc:date>
    <item>
      <title>Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966855#M82572</link>
      <description>Hi All,&lt;BR /&gt;Good morning .&lt;BR /&gt;&lt;BR /&gt;I have a problem with one of our VMS production system. The time on the server  has advanced by one hour . I checked the accouting and could locate following entry .&lt;BR /&gt;&lt;BR /&gt;BATCH Process Termination&lt;BR /&gt;-------------------------&lt;BR /&gt;Username:          SYSTEM            UIC:               [SYSTEM]&lt;BR /&gt;Account:           SYSTEM            Finish time:       21-MAR-2007 15:45:32.86&lt;BR /&gt;Process ID:        00000000          Start time:        21-MAR-2007 15:45:32.86&lt;BR /&gt;Owner ID:                            Elapsed time:                0 00:00:00.00&lt;BR /&gt;Terminal name:                       Processor time:              0 00:00:00.00&lt;BR /&gt;Remote node addr:                    Priority:          0&lt;BR /&gt;Remote node name:                    Privilege &amp;lt;31-00&amp;gt;: 00000000&lt;BR /&gt;Remote ID:                           Privilege &amp;lt;63-32&amp;gt;: 00000000&lt;BR /&gt;Remote full name:&lt;BR /&gt;Posix UID:                           Posix GID:&lt;BR /&gt;Queue entry:       869               Final status code: 000480D4&lt;BR /&gt;Queue name:        SYS$BATCH_OLTBO2&lt;BR /&gt;Job name:          TIME_CHANGE&lt;BR /&gt;Final status text: %JBC-F-JOBDELETE, job deleted before execution&lt;BR /&gt;Page faults:                0        Direct IO:                  0&lt;BR /&gt;Page fault reads:           0        Buffered IO:                0&lt;BR /&gt;Peak working set:           0        Volumes mounted:            0&lt;BR /&gt;Peak page file:             0        Images executed:            0&lt;BR /&gt;␌&lt;BR /&gt;SUBPROCESS Process Termination&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;can I find put which user executed this job? looks like it was a batch job with  /user=system.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance ,&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Anup&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Mar 2007 06:56:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966855#M82572</guid>
      <dc:creator>Cache memory and VMS</dc:creator>
      <dc:date>2007-03-22T06:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966856#M82573</link>
      <description>Anup,&lt;BR /&gt;&lt;BR /&gt;according to the final status code, it looks like that batch job has been deleted, before it got executed.&lt;BR /&gt;&lt;BR /&gt;For the future, you may want to enable TIME auditing: $ SET AUDIT/AUDIT/ENABLE=TIME&lt;BR /&gt;&lt;BR /&gt;Someone may still have executed a set time command manually. Are you running DTSS ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 22 Mar 2007 07:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966856#M82573</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-03-22T07:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966857#M82574</link>
      <description>Hi Volker ,,&lt;BR /&gt;Thanks a lot for the quick reply . Though it shows that the job got finished before execution , I feel that the script has partially executed and has changed the system time .&lt;BR /&gt;&lt;BR /&gt;the following entry from accoutung logs explains this 21-MAR-2007 15:44:08.36 DELETE     OBJ_DELETE       OLTBO2 OAT_BATCH    206088C0&lt;BR /&gt;21-MAR-2007 15:45:53.20 ACCESS     OBJ_ACCESS       OLTBO2 SPC_BATCH    20608A36&lt;BR /&gt;21-MAR-2007 15:45:53.23 ACCESS     OBJ_ACCESS       OLTBO2 SPC_BATCH    20608A36&lt;BR /&gt;21-MAR-2007 15:45:53.23 ACCESS     OBJ_ACCESS       OLTBO2 SPC_BATCH    20608A36&lt;BR /&gt;21-MAR-2007 16:52:01.69 ACCESS     OBJ_ACCESS       OLTBO2 SDEV_BATCH   20608A33&lt;BR /&gt;21-MAR-2007 16:52:01.71 ACCESS     OBJ_ACCESS       OLTBO2 SDEV_BATCH   20608A33&lt;BR /&gt;21-MAR-2007 16:52:01.72 ACCESS     OBJ_ACCESS       OLTBO2 SDEV_BATCH   20608A33&lt;BR /&gt;21-MAR-2007 16:52:01.81 ACCESS     OBJ_ACCESS       OLTBO2 STG_BATCH    20608A34&lt;BR /&gt;21-MAR-2007 16:52:01.83 ACCESS     OBJ_ACCESS       OLTBO2 STG_BATCH    20608A34&lt;BR /&gt;21-MAR-2007 16:52:01.83 ACCESS     OBJ_ACCESS       OLTBO2 STG_BATCH    20608A34&lt;BR /&gt;21-MAR-2007 16:52:02.41 ACCESS     OBJ_ACCESS       OLTBO2 OAT_BATCH    20608C02&lt;BR /&gt;21-MAR-2007 16:52:02.43 ACCESS     OBJ_ACCESS       OLTBO2 OAT_BATCH    20608C02&lt;BR /&gt;21-MAR-2007 16:52:02.43 ACCESS     OBJ_ACCESS       OLTBO2 OAT_BATCH    20608C02&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;we can see that the time got advanced at 15:45 . just trying to figure out how did this happen.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Anup&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Mar 2007 07:38:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966857#M82574</guid>
      <dc:creator>Cache memory and VMS</dc:creator>
      <dc:date>2007-03-22T07:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966858#M82575</link>
      <description>Anup,&lt;BR /&gt;&lt;BR /&gt;the batch process accounting entry is pretty straightforward: job entry 869 in batch queue SYS$BATCH_OLTBO2 has been deleted at 21-MAR-2007 15:45:32.86 BEFORE being executed. All the counters in that accounting entry are ZERO.&lt;BR /&gt;&lt;BR /&gt;If you want to draw conclusions from the ANAL/AUDIT output, all you can say is:&lt;BR /&gt;&lt;BR /&gt;if the time has jumped ahead by 1 hour, it must have happened between:&lt;BR /&gt;&lt;BR /&gt;21-MAR-2007 15:45:53.23 ...&lt;BR /&gt;21-MAR-2007 16:52:01.69 ...&lt;BR /&gt;&lt;BR /&gt;The batch job termination was 31 seconds earlier.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 22 Mar 2007 07:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966858#M82575</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-03-22T07:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966859#M82576</link>
      <description>What hardware box?&lt;BR /&gt;&lt;BR /&gt;What OpenVMS version?&lt;BR /&gt;&lt;BR /&gt;What ECO kits have been installed?&lt;BR /&gt;&lt;BR /&gt;There are a couple of ways this sort of thing can happen, depending on the box and the version.&lt;BR /&gt;&lt;BR /&gt;What timezone rules are active?</description>
      <pubDate>Thu, 22 Mar 2007 08:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966859#M82576</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-03-22T08:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966860#M82577</link>
      <description>Hi Hof and Volker ,&lt;BR /&gt;&lt;BR /&gt;Below given is the timecange script which got executed .$ if "''F$MODE()'" .eqs. "BATCH" then set verify&lt;BR /&gt;$ set noon&lt;BR /&gt;$ set proc /priv=all&lt;BR /&gt;$ if "''P1'" .eqs. "SPRING_FORWARD" then goto _SPRING_FORWARD&lt;BR /&gt;$ if "''P1'" .eqs. "FALL_BACK" then goto _FALL_BACK&lt;BR /&gt;$ write sys$output "an error has occured"&lt;BR /&gt;$ goto _EXIT&lt;BR /&gt;$ !&lt;BR /&gt;$ _SPRING_FORWARD:&lt;BR /&gt;$MC SYSMAN&lt;BR /&gt;SET ENV/CLUSTER&lt;BR /&gt;SET TIMEOUT 00:00:10&lt;BR /&gt;SET PROFILE/PRIV=(LOG_IO,syslck)&lt;BR /&gt;DO SH TIME&lt;BR /&gt;CONFIGURATION SET TIME "+01:00:00"&lt;BR /&gt;DO SH TIME&lt;BR /&gt;EXIT&lt;BR /&gt;$ goto _EXIT&lt;BR /&gt;$ !&lt;BR /&gt;$ _FALL_BACK:&lt;BR /&gt;$MC SYSMAN&lt;BR /&gt;SET ENV/CLUSTER&lt;BR /&gt;SET TIMEOUT 00:00:10&lt;BR /&gt;SET PROFILE/PRIV=(LOG_IO,syslck)&lt;BR /&gt;DO SH TIME&lt;BR /&gt;CONFIGURATION SET TIME "-01:01:30"&lt;BR /&gt;DO SH TIME&lt;BR /&gt;EXIT&lt;BR /&gt;$ goto _EXIT&lt;BR /&gt;$ !&lt;BR /&gt;$ _EXIT:&lt;BR /&gt;$ exit&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my assumption is tht, somebody by mistake submited the job , but suddenly realized and deleted the entry. By that time time got chaged . &lt;BR /&gt;&lt;BR /&gt;its  COMPAQ AlphaServer es40 , os version is 7.3-2 .&lt;BR /&gt;&lt;BR /&gt;does this help?&lt;BR /&gt;&lt;BR /&gt;thanks i advance ,&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;anup</description>
      <pubDate>Thu, 22 Mar 2007 08:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966860#M82577</guid>
      <dc:creator>Cache memory and VMS</dc:creator>
      <dc:date>2007-03-22T08:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966861#M82578</link>
      <description>Anup,&lt;BR /&gt;&lt;BR /&gt;did the batch job produce a TIME_CHANGE.LOG file - if it really ran ?&lt;BR /&gt;&lt;BR /&gt;The accounting data shows 0 images executed, but the procedure is using SYSMAN, which is an image.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 22 Mar 2007 08:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966861#M82578</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-03-22T08:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966862#M82579</link>
      <description>&amp;gt;&amp;gt; my assumption is tht, somebody by mistake submited the job , but suddenly realized and deleted the entry. By that time time got chaged . &lt;BR /&gt;&lt;BR /&gt;Nah, that would require an exquisit sense of time(sic), and the job and trace do not suggest too much smarts / planning.&lt;BR /&gt;&lt;BR /&gt;- One should not set the clock for the timechange&lt;BR /&gt;&lt;BR /&gt;- The timechange should not happen on the first day of spring, but on some Sunday morning 2am as selected by the local authorities.&lt;BR /&gt;&lt;BR /&gt;Maybe a time-zone patch was installed too late?&lt;BR /&gt;&lt;BR /&gt;Somebody made an error.&lt;BR /&gt;They may or might not admit to that.&lt;BR /&gt;I would send out an Email to active users with privs and check auditing.&lt;BR /&gt;If time change auditing was not enabled (as per Volker), then maybe using logs from repeated jobs, or timestamps in long running jobs, you could be able to find&lt;BR /&gt;at what time the change happened. With a bit of luck trace that back to overly privved users on the system.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Mar 2007 08:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966862#M82579</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-03-22T08:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966863#M82580</link>
      <description>Anup,&lt;BR /&gt;&lt;BR /&gt;with running V7.3-2, it's about time to use the OpenVMS AUTO_DLIGHT_SAV=1 mechanism instead of home-grown procedures.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 22 Mar 2007 08:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966863#M82580</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-03-22T08:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time  got changed</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966864#M82581</link>
      <description>&lt;BR /&gt;That time change procedure most definitely not one I would use, as it appears it would trigger errors.  This sequence looks like it will trigger the off-by-an-hour bug, as it does not adjust the daylight and standard flags required for the correct operation of various applications built directly or indirectly using C timekeeping mechanisms.  It also looks like it might well trigger problems with the sequencing and scheduling with the queue manager, too.&lt;BR /&gt;&lt;BR /&gt;There is a provided manual switch-over procedure in SYS$$EXAMPLES:, the DAYLIGHT_SAVINGS.COM [sic] command procedure, that handles this case for a manual switch-over between daylight saving time and standard time.&lt;BR /&gt;&lt;BR /&gt;The AUTO_DLIGHT_SAV parameter is the way to go if your applications can tolerate an automatic change-over.  Most can, but there are those around that use the current time as a file index or such.&lt;BR /&gt;&lt;BR /&gt;There have been ECOs that cover this, check that you're current on those.  There was a bug in DAYLIGHT_SAVINGS.COM a while back, and the fix was made via ECO.&lt;BR /&gt;&lt;BR /&gt;I've a large collection of information on timekeeping posted over at the new HoffmanLabs website, given the ruckus that was caused by the recent US DST changes.  Look for the daylight savings time link in the left navigation of the new web site, and you'll pull up a half-dozen technical articles on this topic.&lt;BR /&gt;&lt;BR /&gt;It's somewhat doubtful that the exact trigger will be found here -- unless somebody owns up to issuing the command "hot", or you find some batch job that executed unexpectedly -- so this is likely going to be a "teaching moment" around enabling various security auditing, and around handling the DST switch-over.&lt;BR /&gt;&lt;BR /&gt;And if I can't convince you to migrate to one of the available and documented mechanisms and you're in a position where you must continue to use the locakl batch-based approach (and you can't call DAYLIGHT_SAVINGS.COM from that), the DCL command SET TIME/CLUSTER is a whole lot shorter than those SYSMAN command sequences you're currently using.&lt;BR /&gt;&lt;BR /&gt;There are timezone and timekeeping ECOs for OpenVMS V7.3-2.  The system-level timekeeping matters I was thinking of -- and there are a couple of these -- do not affect the AlphaServer ES40 series boxes.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Mar 2007 10:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-got-changed/m-p/3966864#M82581</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-03-22T10:04:09Z</dc:date>
    </item>
  </channel>
</rss>

