- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: File version limit
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
05-10-2006 07:48 PM
05-10-2006 07:48 PM
File version limit
Do you know of any lexical where I can get the latest file revision number?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 07:56 PM
05-10-2006 07:56 PM
Re: File version limit
Do you mean "revision" or "version"?
$ write sys$output f$parse(f$search("sys$login:login.com"),,,"version")
;194
$ write sys$output f$file_attributes("sys$login:login.com","rvn")
1
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 08:13 PM
05-10-2006 08:13 PM
Re: File version limit
or do you mean the FILE VERSION LIMIT ?
$ write sys$output f$file_attributes("LOGIN.COM","VERLIMIT")
32767
(with 32767 indicating no version limit set).
The file version limit indicates, how many versions of the file may exist ($ HELP SET FILE/VERSION_LIMIT).
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 08:15 PM
05-10-2006 08:15 PM
Re: File version limit
I refer to the file version number. Citing login.com;1, if I do
write sys$output f$file_attributes("sys$login:login.com","rvn")
The result should be 1. I try to use the above, I get 2 as result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 08:22 PM
05-10-2006 08:22 PM
Re: File version limit
the RVN (=Revision number) indiciates, how often the existing file was accessed for WRITE.
$ OPEN/READ/WRITE x LOGIN.COM
$ CLOSE x
The RVN will have been updated by one.
To obtain the file version number, use F$PARSE(...,"VERSION")
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 03:58 AM
05-11-2006 03:58 AM
Re: File version limit
You can also use relative version numbers. For example,
login.com;
login.com;0
Both give the latest version
login.com;-1
login.com;-2
and so on provide previous versions of your file.
login.com;-0
is the earliest version of the file.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 08:35 PM
05-14-2006 08:35 PM
Re: File version limit
Can you expound your statement "To obtain the file version number, use F$PARSE(...,"VERSION")"?
What's the correct syntax to get the file version number?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 09:03 PM
05-14-2006 09:03 PM
Re: File version limit
Directory CNC_SCRATCH:[ROHW.ROHWEDDER]
CON2.LOG;20
$ a=F$Search("con2.log")
$ write sys$output f$parse(a,,,"version")
;20
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 09:08 PM
05-14-2006 09:08 PM
Re: File version limit
I think what is meant is this:
$ write sys$output f$parse ("SESSIONLOG.COM","[]",,"VERSION")
;
$ write sys$output f$parse ("SESSIONLOG.COM;-2","[]",,"VERSION")
;-2
Best regards,
Dave Laurier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 09:35 PM
05-14-2006 09:35 PM
Re: File version limit
$ s = f$search("*.*")
$ xx= f$element(1,";",f$parse(s,,,"version","no_conceal"))
$ sh sym xx
XX = "3"
Later I will add a condition to check file with file version nearly reach 32767.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2006 04:11 PM
05-17-2006 04:11 PM