- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: About LIB$FIND_FILE
Operating System - OpenVMS
1752743
Members
4628
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-05-2009 02:28 AM
08-05-2009 02:28 AM
Hi, newbie here.
Could any expert tell me about LIB$FIND_FILE:
1. When only 3 parameter was used, what is the default value of the "flags" parameter?
2. When VM is cirtial, LIB$FIND_FILE will also probably fall. At this time, the resultant-filespec argument(the 2nd parameter) will return a string without "*" if there is no files in searching dir?
Could any expert tell me about LIB$FIND_FILE:
1. When only 3 parameter was used, what is the default value of the "flags" parameter?
2. When VM is cirtial, LIB$FIND_FILE will also probably fall. At this time, the resultant-filespec argument(the 2nd parameter) will return a string without "*" if there is no files in searching dir?
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 04:23 AM
08-05-2009 04:23 AM
Solution
1) when only 3 parameters are used, then the flags values is interpreted as 0. No flags set. As one of the flags is a negative, you get a double-negative: wildcards are valid.
2) LIB$FIND_FILE needs VM every time it is called with a 'fresh' context. It releases that VMS when LIB$FIND_FILE_END is called. It should be irrelevant to the program how output is set in the case of failure, unless documented. It is not documented so must be assumed to be 'random' and unreliable.
If the status is bad, don't look at the result.
VM worries in the context (sic) of LIB$FIND_FILE typically means that the application failed to call LIB$FIND_FILE_END correctly.
hth,
Hein.
2) LIB$FIND_FILE needs VM every time it is called with a 'fresh' context. It releases that VMS when LIB$FIND_FILE_END is called. It should be irrelevant to the program how output is set in the case of failure, unless documented. It is not documented so must be assumed to be 'random' and unreliable.
If the status is bad, don't look at the result.
VM worries in the context (sic) of LIB$FIND_FILE typically means that the application failed to call LIB$FIND_FILE_END correctly.
hth,
Hein.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP