- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: File version
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
08-09-2006 07:02 AM
08-09-2006 07:02 AM
File version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 07:15 AM
08-09-2006 07:15 AM
Re: File version
not by default,
but if you REALLY want it, you can
$ SET FILE/VERSION_LIMIT=1
and after editting
$ RENAME
But you will grow to regret this! Every once in a while it can be SOOOO useful to still have the old version(s).
And when you are SURE you no longer have any use for them,
$ PURGE
will bring the number down to one.
And for any normal use it will be a while till you reach 32767 (2^15 - 1), which is the highest number allowed.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 08:24 AM
08-09-2006 08:24 AM
Re: File version
$ SET DIRECTORY/VERSION_LIMIT=1
If you want it the Unix way, try the GNV packages and use bash (this has some nsaty issues, though).
But why would you. You do not have to specify the version number in a filspec, ANY aaccess without it will give you the highest version. There will be one day that you will regret you ever lost your "old" files.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 09:26 AM
08-09-2006 09:26 AM
Re: File version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 12:05 PM
08-09-2006 12:05 PM
Re: File version
$ dir*ectory == "directory /version=1"
to your login.com file (and add any other qualifiers if you already have a directory symbol defined). As mentioned above, sooner or later, you WILL want to have a recent older version of a file. But a directory listing that runs for screens with multiple instances of any given file name is definitely an annoyance. So, once you have the above directory symbol defined, the only time you will actually SEE multiple versions of a file is if you do something like
$ dir /vers=10 /size file_i_think.i_corrupted
You may also want to set a *reasonable* version limit (say, 20?) on all existing files:
$ set file <...>*.* /version=20
$ purge <...>*.* /keep=20
And also set the limit on future files in the directory, which command escapes me at the moment, but I am sure someone will follow on and post that as well.
You can, when you are VERY sure, do a massive cleanup to get rid of any older versions:
$ purge <...>*.*
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company