<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pathworks File Open Flags in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448890#M66136</link>
    <description>They put in a 3 second delay in the submission of the detatched process and that solved the problem in the test environment.  However, in production, 350 users could easily create enough jobs that multiple clients and/or detathed processes could attempt to open common include files.  The programmers indicate that the files are being opened in read mode, but there apparently isn't a shr= mode for windows only for robust systems like VMS.</description>
    <pubDate>Wed, 22 Dec 2004 11:11:08 GMT</pubDate>
    <dc:creator>Douglas Buxton</dc:creator>
    <dc:date>2004-12-22T11:11:08Z</dc:date>
    <item>
      <title>Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448886#M66132</link>
      <description>We have and application that is being upgraded to 3-tier client Server.  The client is Windows based and the applications server is OpenVMS based.  To access process log files and application code include files, Pathworks is used.  However, they want to be able to access the same file by a process and a user at the same time, meaning it has to be opened Read-Only.  I have not been able to find any documentation of method to specify opening in read-only mode.  Has anyone ever run into anything like this before?&lt;BR /&gt;&lt;BR /&gt;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!</description>
      <pubDate>Wed, 22 Dec 2004 09:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448886#M66132</guid>
      <dc:creator>Douglas Buxton</dc:creator>
      <dc:date>2004-12-22T09:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448887#M66133</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Although it's not to clear to me what you mean by&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;access the same file by a process and a user at the same time&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;I presume that "process" means "executable running in the context of a process" and "user" means "interactive session"?&lt;BR /&gt;If that is the case, then from e.g. a C program you can open the file with something like:&lt;BR /&gt;&lt;BR /&gt;fptr = fopen(fname,"r","shr=get");&lt;BR /&gt;&lt;BR /&gt;and from DCL with something like:&lt;BR /&gt;&lt;BR /&gt;OPEN/READ/SHARE=READ infile filespec&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2004 10:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448887#M66133</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2004-12-22T10:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448888#M66134</link>
      <description>You are correct, sort of.  The file is being opened by a VMS detached process, and by a client.  The client opens in include file and parses the code prior to submitting the job as a detached process in VMS.  The problem turns out to be (just found this out) that the file is not closed fast enough (i.e. before the detached process starts and tries to open it) by Pathworks after the client parsing.  The solution may be as easy as putting a higher priority on the SERVER Pathworks process to handling closing the file faster.</description>
      <pubDate>Wed, 22 Dec 2004 10:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448888#M66134</guid>
      <dc:creator>Douglas Buxton</dc:creator>
      <dc:date>2004-12-22T10:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448889#M66135</link>
      <description>&lt;BR /&gt;Hi again,&lt;BR /&gt;&lt;BR /&gt;I think you have a "serialization" problem here.&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;The solution may be as easy as putting a higher priority on the SERVER Pathworks process to handling closing the file faster.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;or building in a "delay" in the client so the detached process is started somewhat later?&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2004 10:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448889#M66135</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2004-12-22T10:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448890#M66136</link>
      <description>They put in a 3 second delay in the submission of the detatched process and that solved the problem in the test environment.  However, in production, 350 users could easily create enough jobs that multiple clients and/or detathed processes could attempt to open common include files.  The programmers indicate that the files are being opened in read mode, but there apparently isn't a shr= mode for windows only for robust systems like VMS.</description>
      <pubDate>Wed, 22 Dec 2004 11:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448890#M66136</guid>
      <dc:creator>Douglas Buxton</dc:creator>
      <dc:date>2004-12-22T11:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448891#M66137</link>
      <description>Douglas,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;Maybe you can try your luck in a Windows forum?&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Dec 2004 02:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448891#M66137</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2004-12-23T02:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448892#M66138</link>
      <description>When you configured Advanced-Server after the installation - which you can do again using ADMIN/CONFIG - there was a advanced configuration parameter named "Open File Caching Interval (msec):" with a default of 5000 along with a checkmark to turn caching on or off alltogether.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Of course this time becomes longer due to the already mentioned delays.</description>
      <pubDate>Thu, 23 Dec 2004 02:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448892#M66138</guid>
      <dc:creator>Edwin Gersbach_2</dc:creator>
      <dc:date>2004-12-23T02:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448893#M66139</link>
      <description>Douglas,&lt;BR /&gt;I'm with Edwin, may be a cache time-out. However, without cache time-out your server application may degrade its performance.&lt;BR /&gt;You have to find the best compromise.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Dec 2004 05:45:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448893#M66139</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-12-23T05:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448894#M66140</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Paul</description>
      <pubDate>Thu, 23 Dec 2004 08:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448894#M66140</guid>
      <dc:creator>Paul Nunez</dc:creator>
      <dc:date>2004-12-23T08:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Pathworks File Open Flags</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448895#M66141</link>
      <description>Hi Pail,&lt;BR /&gt;your informations about pathwork are again golden eggs!&lt;BR /&gt;Thank you!&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Dec 2004 10:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pathworks-file-open-flags/m-p/3448895#M66141</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-12-23T10:40:09Z</dc:date>
    </item>
  </channel>
</rss>

