- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- File Version Limit on VMS
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-13-2004 03:41 AM
тАО01-13-2004 03:41 AM
I checked the VMS Freeware CD 5 but did not find anything that matched what I was looking for.
Any thoughts?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 03:57 AM
тАО01-13-2004 03:57 AM
Re: File Version Limit on VMS
You can use $set file/version_limit to limit number of versions of any file. Once the no. of files crosses this number, earlier files got deleted. You can set the same for directories.
See online help on SET FILE/VERSION_LIMIT for more details.
HTH,
Thanks & regards,
Lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 04:11 AM
тАО01-13-2004 04:11 AM
SolutionVersion_limit does not help in this case, it just meams your file will not have more than x versions at any one time on disk, but the number will increase anyhow.
You might want to have a look at
http://dcl.openvms.org/stories.php?story=03/11/03/5533108
Haven't tested this by myself...
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 04:14 AM
тАО01-13-2004 04:14 AM
Re: File Version Limit on VMS
For example:
NODEX$ create test.txt;32765
EXIT
TCHID1$ set file/ver=2 test.txt
TCHID1$ dir test.txt
Directory TECH:[SYS]
TEST.TXT;32765
Total of 1 file.
NODEX$ create test.txt
Exit
NODEX$ dir test.txt
Directory TECH:[SYS]
TEST.TXT;32766 TEST.TXT;32765
Total of 2 files.
NODEX$ create test.txt
Exit
NODEX$ dir test.txt
Directory TECH:[SYS]
TEST.TXT;32767 TEST.TXT;32766
Total of 2 files.
NODEX$ create test.txt
NODEX$ create test.txt
%CREATE-E-OPENOUT, error opening TECH:[SYSMRC]TEST.TXT; as output
-RMS-E-CRE, ACP file create failed
-SYSTEM-W-BADFILEVER, bad file version number
Thanks - MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 04:18 AM
тАО01-13-2004 04:18 AM
Re: File Version Limit on VMS
Thanks for the info
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 05:10 AM
тАО01-13-2004 05:10 AM
Re: File Version Limit on VMS
http://h71000.www7.hp.com/freeware/freeware50/dfu027a/
The doc is at
http://h71000.www7.hp.com/freeware/freeware50/dfu027a/dfu027a.html
You can write some Dcl using f$device to find your disks, f$getdvi to check it is mounted and available, and then issue a DFU search disk /version=(min=10000,max=32767)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 04:57 PM
тАО01-13-2004 04:57 PM
Re: File Version Limit on VMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 06:44 PM
тАО01-13-2004 06:44 PM
Re: File Version Limit on VMS
FILE = f$search(
VERS = f$parse (FILE,,,"VERSION") - ";"
vrs will now hold the version number.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 08:50 PM
тАО01-13-2004 08:50 PM
Re: File Version Limit on VMS
http://h71000.www7.hp.com/freeware/freeware60/dfu/
This utility is very handy and should be installed on every VMS system (you can just copy DFU.EXE - at least with V2.7 that worked). Parhaps hp could start including it with the base o.s.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2004 09:44 PM
тАО01-13-2004 09:44 PM
Re: File Version Limit on VMS
Just testing ALL files on ALL disks for their version number wil be a VERY heavy job on bigger systems!.
We hitchhike a little on the fact that we make listings during Backup, and a little DCL procedure that SEARCHes those listings for ";3" (all files with versions starting with the digit 3) into a file, then processing this file to keep just those with a string length 5 after the semicolon gives all files with version over 30000.
IF you are using Backup with .LIS=xx, then this is MUCH more efficient.
I know (from Guy Peleg, who is doing DCL extensions) DCL is getting and extra command or qualifier to address just this problem, but I am not sure whether it is already in 7.3-2 (we're still waiting for that), or if it will be in an ECO kit. So maybe just a little patience (and an update/upgrade) will do the job as well or better
When I get back in the office, I'll attach our procedure.