- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Pathworks File Open Flags
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
тАО12-22-2004 01:05 AM
тАО12-22-2004 01:05 AM
Pathworks File Open Flags
BTW I've been on the forum every day since I joined (almost 7 months) and I've never had to opportunity to answer a question. You guys are just too quick!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2004 02:26 AM
тАО12-22-2004 02:26 AM
Re: Pathworks File Open Flags
Although it's not to clear to me what you mean by
access the same file by a process and a user at the same time
I presume that "process" means "executable running in the context of a process" and "user" means "interactive session"?
If that is the case, then from e.g. a C program you can open the file with something like:
fptr = fopen(fname,"r","shr=get");
and from DCL with something like:
OPEN/READ/SHARE=READ infile filespec
Hope this helps.
Greetz,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2004 02:49 AM
тАО12-22-2004 02:49 AM
Re: Pathworks File Open Flags
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2004 02:55 AM
тАО12-22-2004 02:55 AM
Re: Pathworks File Open Flags
Hi again,
I think you have a "serialization" problem here.
The solution may be as easy as putting a higher priority on the SERVER Pathworks process to handling closing the file faster.
or building in a "delay" in the client so the detached process is started somewhat later?
Greetz,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2004 03:11 AM
тАО12-22-2004 03:11 AM
Re: Pathworks File Open Flags
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2004 06:25 PM
тАО12-22-2004 06:25 PM
Re: Pathworks File Open Flags
I'm sorry that I can't be of any further assistance. My knowledge of programming on a Windows environment is limited to say the least.
Maybe you can try your luck in a Windows forum?
Greetz,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2004 06:34 PM
тАО12-22-2004 06:34 PM
Re: Pathworks File Open Flags
The idea behind this is, to keep a file open for a certain amount of time when the windows client closes it, because many window programs do repeated file open and closing. Some scripting interpreters for example do a open/close sequence for every single line to be read.
Of course this time becomes longer due to the already mentioned delays.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2004 09:45 PM
тАО12-22-2004 09:45 PM
Re: Pathworks File Open Flags
I'm with Edwin, may be a cache time-out. However, without cache time-out your server application may degrade its performance.
You have to find the best compromise.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2004 12:34 AM
тАО12-23-2004 12:34 AM
Re: Pathworks File Open Flags
You can disable the PATHWORKS Open File Cache w/o much consequence with one notable exception - if clients execute DOS batch files stored on the server, which includes NETLOGON scripts, you may want to compare the performance before and after disabling the cache to determine if the degradation is acceptable.
DOS batch file processing involves opening the file, reading the next line, closing the file, and executing the command - for every line in the batch file. So the open file cache can greatly benefit clients that execute batch files stored on the server. But you can typically reduce the open file cache time interval from 5 seconds to 2 or maybe even 1 (1000 ms).
HTH,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2004 02:40 AM
тАО12-23-2004 02:40 AM
Re: Pathworks File Open Flags
your informations about pathwork are again golden eggs!
Thank you!
Antonio Vigliotti