- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Lexical function f$file_attributes() with attr...
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
тАО03-21-2006 09:18 AM
тАО03-21-2006 09:18 AM
Lexical function f$file_attributes() with attribute LOCKED not working
NODE> a = f$file_attribute("trace.txt","LOCKED")
%SYSTEM-W-ACCONFLICT, file access conflict
\trace.txt\
OpenVMS help:
TRUE if a file is deaccessed-locked;
otherwise FALSE.
If I understand the help correctly than the value TRUE should have been assigned to the symbol "a" when the file trace.txt is locked by any other process.
As you can see this does not happen.
When I close the file the correct value FALSE is assigned to "a".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 10:06 AM
тАО03-21-2006 10:06 AM
Re: Lexical function f$file_attributes() with attribute LOCKED not working
Sorry but LOCKED in this case doesn't mean what you think it means. From HELP
LEX F$FILE
LOCKED String TRUE if a file is deaccessed-locked;
otherwise FALSE
In this case deaccessed-locked is related to the way RSX applications would
handle a file.
Find this issue discussed in details here....
http://groups.google.com/group/comp.os.vms/browse_frm/thread/d6f2b946c5c3b16a/82ac54578609e0f8%2382ac54578609e0f8
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 10:31 AM
тАО03-21-2006 10:31 AM
Re: Lexical function f$file_attributes() with attribute LOCKED not working
Thansk for your reply. I found the other threadlist and saw some solutions that they where providing there to find out if a file is still accessed by any other process.
I'll look into those and will close this list.
Although I do agree with the others that it would be nice if the f$file_attribute with locked attribute is working the way we all would like it to work. Perhaps someting for a future release? :-)
Kind Regards
Bou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 08:50 PM
тАО03-21-2006 08:50 PM
Re: Lexical function f$file_attributes() with attribute LOCKED not working
there is a site you can request this sort of thing from HP :-
http://www.hpuseradvocacy.org/article/43
Robert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2006 03:33 AM
тАО03-22-2006 03:33 AM
Re: Lexical function f$file_attributes() with attribute LOCKED not working
You never know.
Thanks.
Bou.