- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: VMS Batch Queue Job and Daylight Savings Time
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 05:39 AM
тАО01-18-2006 05:39 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 05:49 AM
тАО01-18-2006 05:49 AM
SolutionHere's one relatively simple idea:
Add code into the job so that it calculates to see when the next Fall time change will be and have it compare the next run time with that to see if the next run will be at or after the change. If so, have it submit another job which will sit and wait in a loop for the time change to occur (simply take a time value every minute or whatever interval you like ... and see if it is less than the previous one). When it detects the time change, it resubmits the original job to run immediately(or whatever interval after the top of the hour that it should run).
Alternatively, you could incorporate the wait loop in the same job as part of the resubmit code.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 05:55 AM
тАО01-18-2006 05:55 AM
Re: VMS Batch Queue Job and Daylight Savings Time
Ideally the routine would interpret the logical names that control the TDF/Daylight Savings rules in SYS$TIMEZONE_RULE for its input.
I may just have to edit the procedure I already have to get its input from the logical if it's available and post it here or on the DCL website.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 06:58 AM
тАО01-18-2006 06:58 AM
Re: VMS Batch Queue Job and Daylight Savings Time
Yes I would like to see your code. Thanks!
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 07:46 AM
тАО01-18-2006 07:46 AM
Re: VMS Batch Queue Job and Daylight Savings Time
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 07:48 AM
тАО01-18-2006 07:48 AM
Re: VMS Batch Queue Job and Daylight Savings Time
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 07:57 AM
тАО01-18-2006 07:57 AM
Re: VMS Batch Queue Job and Daylight Savings Time
If you want an interesting challenge -- read through it and see if you can follow all of what it does! It has at least 3 if not 4 different modes it runs in depending on when/how it is invoked.
The most useful part for you Ken may be the section where it is trying to figure out what time NOW is relative to the next change.
I'm not suggesting you copy that code, but it could be useful as a framework.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 09:41 PM
тАО01-18-2006 09:41 PM
Re: VMS Batch Queue Job and Daylight Savings Time
dcl.openvms.org as well as they may be useful to others.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2006 11:03 PM
тАО01-18-2006 11:03 PM
Re: VMS Batch Queue Job and Daylight Savings Time
Replace the submit by a permanent job doing
$b:
$ wait 00:59:59
$ submit xxx
$ goto b
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2006 02:05 AM
тАО01-19-2006 02:05 AM
Re: VMS Batch Queue Job and Daylight Savings Time
Sorry, that does NOT work!
At 30 mins before the clock set backward do this will NOT wait one hour, but two hours!
At, say, 02:30, the WAIT evaluates the time to wake up as 03:30. But it takes 2 hours before 03:30 comes to pass....
Proost.
Have one on me.
jpe