<?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 Lexical function f$file_attributes() with attribute LOCKED not working in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756193#M33897</link>
    <description>NODE&amp;gt; open/read /write trace trace.txt&lt;BR /&gt;NODE&amp;gt; a = f$file_attribute("trace.txt","LOCKED")&lt;BR /&gt;%SYSTEM-W-ACCONFLICT, file access conflict&lt;BR /&gt; \trace.txt\&lt;BR /&gt;&lt;BR /&gt;OpenVMS help:&lt;BR /&gt;TRUE if a file is deaccessed-locked;&lt;BR /&gt;otherwise FALSE.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;As you can see this does not happen.&lt;BR /&gt;When I close the file the correct value FALSE is assigned to "a".</description>
    <pubDate>Tue, 21 Mar 2006 17:18:37 GMT</pubDate>
    <dc:creator>Boudewijn vandeMoesdijk</dc:creator>
    <dc:date>2006-03-21T17:18:37Z</dc:date>
    <item>
      <title>Lexical function f$file_attributes() with attribute LOCKED not working</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756193#M33897</link>
      <description>NODE&amp;gt; open/read /write trace trace.txt&lt;BR /&gt;NODE&amp;gt; a = f$file_attribute("trace.txt","LOCKED")&lt;BR /&gt;%SYSTEM-W-ACCONFLICT, file access conflict&lt;BR /&gt; \trace.txt\&lt;BR /&gt;&lt;BR /&gt;OpenVMS help:&lt;BR /&gt;TRUE if a file is deaccessed-locked;&lt;BR /&gt;otherwise FALSE.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;As you can see this does not happen.&lt;BR /&gt;When I close the file the correct value FALSE is assigned to "a".</description>
      <pubDate>Tue, 21 Mar 2006 17:18:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756193#M33897</guid>
      <dc:creator>Boudewijn vandeMoesdijk</dc:creator>
      <dc:date>2006-03-21T17:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Lexical function f$file_attributes() with attribute LOCKED not working</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756194#M33898</link>
      <description>Boudewijn,&lt;BR /&gt;&lt;BR /&gt;Sorry but LOCKED in this case doesn't mean what you think it means.  From HELP &lt;BR /&gt;LEX F$FILE &lt;BR /&gt;         LOCKED      String    TRUE if a file is deaccessed-locked; &lt;BR /&gt;                               otherwise FALSE &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In this case deaccessed-locked is related to the way RSX applications would &lt;BR /&gt;handle a file. &lt;BR /&gt;&lt;BR /&gt;Find this issue discussed in details here....&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://groups.google.com/group/comp.os.vms/browse_frm/thread/d6f2b946c5c3b16a/82ac54578609e0f8%2382ac54578609e0f8" target="_blank"&gt;http://groups.google.com/group/comp.os.vms/browse_frm/thread/d6f2b946c5c3b16a/82ac54578609e0f8%2382ac54578609e0f8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Archunan</description>
      <pubDate>Tue, 21 Mar 2006 18:06:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756194#M33898</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2006-03-21T18:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Lexical function f$file_attributes() with attribute LOCKED not working</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756195#M33899</link>
      <description>Hey Archunan&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;I'll look into those and will close this list.&lt;BR /&gt;&lt;BR /&gt;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? :-)&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;&lt;BR /&gt;Bou</description>
      <pubDate>Tue, 21 Mar 2006 18:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756195#M33899</guid>
      <dc:creator>Boudewijn vandeMoesdijk</dc:creator>
      <dc:date>2006-03-21T18:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Lexical function f$file_attributes() with attribute LOCKED not working</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756196#M33900</link>
      <description>Bou,&lt;BR /&gt;   there is a site you can request this sort of thing from HP :-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpuseradvocacy.org/article/43" target="_blank"&gt;http://www.hpuseradvocacy.org/article/43&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Robert.</description>
      <pubDate>Wed, 22 Mar 2006 04:50:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756196#M33900</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-03-22T04:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Lexical function f$file_attributes() with attribute LOCKED not working</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756197#M33901</link>
      <description>I did.&lt;BR /&gt;You never know.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Bou.</description>
      <pubDate>Wed, 22 Mar 2006 11:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/lexical-function-f-file-attributes-with-attribute-locked-not/m-p/3756197#M33901</guid>
      <dc:creator>Boudewijn vandeMoesdijk</dc:creator>
      <dc:date>2006-03-22T11:33:13Z</dc:date>
    </item>
  </channel>
</rss>

