- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- ODS-5 weirdness
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
Forums
Discussions
Discussions
Discussions
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
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
07-27-2006 12:52 AM
07-27-2006 12:52 AM
ODS-5 weirdness
Cryptic title, isn't it.
We observed some weird things regarding the various dates for a file (creation, revision, etc.).
On an ODS-5 volume, a file (test.c) exists with creation date 27-JUL-2006 12:38:38.38, revision date 27-JUL-2006 12:38:38.43, last access date 27-JUL-2006 12:42:21.22, last attribute change date 27-JUL-2006 12:44:47.62.
According to DIRECTORY/DATE=MODIFIED, the corresponding executable images for Alpha and VAX, have a last modification date of 27-JUL-2006 12:42:42.59, and 27-JUL-2006 12:41:18.49.
So one expects MMS to rebuild the executable, and so it does on Alpha, but not on VAX.
On Alpha apparently the "last attribute change date" is taken into account, on VAX (or on an ODS-2 disk) the real "revision date" (lacking the former).
The lexical function F$FILE_ATTRIBUTES reports on the ODS-5 volume the "last attribute change date" if asked for the item RDT, on ODS-2 of course it reports the real "revision date/time".
Is this intended behaviour, or merely a glitch?
I've attached the output of a SET HOST/LOG to illustrate what happens.
Any comments greatly appreciated.
Points will have to wait until after the weekend.
Regards,
Kris (aka Qkcl)
Any comments appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 01:34 AM
07-27-2006 01:34 AM
Re: ODS-5 weirdness
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:55 AM
07-27-2006 08:55 AM
Re: ODS-5 weirdness
OpenVMS has recently acquired a few more dates associated with files. You've noticed, "last attribute change date". Depending on your version, there's also a "last accessed date", and maybe a few others.
The modification date (RDT) used to be bumped when either the data or the attributes changed. Now that the fields are independent, it's a toss up for the upward compatible choice. It's a good bet that if you change the data, there is some attribute change as well (for one thing you change the modification date, which is an attribute, yes?). Therefore, the attribute change date is probably the best approximation of the "old" modification date, so, arguably the best choice for upwards compatibility. Sounds like that's what F$FILE has chosen, and whatever code MMS is using.
For the purposes of MMS, the "new" modification date is probably a better fit for what they're trying to achieve, but unless MMS has been updated to explicitly ask for the new field, it will operate in "compatibility mode". What is the date of your version of MMS? Likely to be up to ODS-5?
In your case, copying the file from ODS-5 to ODS-2, the BACKUP command is obviously copying only the date/time fields it has a place to store in the target. There's an argument that this is a bug in regards to the modification date. Perhaps it should be taking the later of modification date and attribute change date to store in the ODS-2 modification date field?
Maybe it's worth logging a case and requesting an enhancement, either to MMS to use the more "appropriate" date, or to BACKUP to merge the two dates. Either of these changes would make both platforms behave the same (which I assume to be your goal)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 09:18 AM
07-27-2006 09:18 AM
Re: ODS-5 weirdness
By the way, you don't say whether access dates are enabled on your ODS-5 volume. IIRC they are off by default.
The note in the middle of the following page may be of interest for background, though it's unlikely the BACKUP utility would use the C library to update file timestamps:
http://h71000.www7.hp.com/doc/82FINAL/5763/5763pro_056.html
It looks to me like the Guide to File Applications has not been updated since v7.3 (it says, for example, you can't have an ODS-5 system disk), so I'm not sure where best to read up on how all the POSIXish dates are handled by standard utilities.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 09:49 PM
07-27-2006 09:49 PM
Re: ODS-5 weirdness
I think what you are seeing is intended.
I agree with the BACKUP suggestion about dates.
Purely Personal Opinion