<?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: dir/full latest version in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042491#M12958</link>
    <description>$ DIR/FULL filename.extension;0&lt;BR /&gt;&lt;BR /&gt;;0 means highest version.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 24 Jul 2007 05:52:18 GMT</pubDate>
    <dc:creator>Ian Miller.</dc:creator>
    <dc:date>2007-07-24T05:52:18Z</dc:date>
    <item>
      <title>dir/full latest version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042490#M12957</link>
      <description>I was using "dir/full" to view the properties of a file but the problem is vms keeps copies of the file so when I enter in &lt;BR /&gt;"dir/full filename.extension"&lt;BR /&gt;&lt;BR /&gt;then the details of the file for every version of that file since 2006 are displayed.&lt;BR /&gt;&lt;BR /&gt;How do I get this to work for the latest version only?</description>
      <pubDate>Tue, 24 Jul 2007 05:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042490#M12957</guid>
      <dc:creator>quinnd6</dc:creator>
      <dc:date>2007-07-24T05:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: dir/full latest version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042491#M12958</link>
      <description>$ DIR/FULL filename.extension;0&lt;BR /&gt;&lt;BR /&gt;;0 means highest version.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042491#M12958</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2007-07-24T05:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: dir/full latest version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042492#M12959</link>
      <description>great thanks</description>
      <pubDate>Tue, 24 Jul 2007 05:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042492#M12959</guid>
      <dc:creator>quinnd6</dc:creator>
      <dc:date>2007-07-24T05:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: dir/full latest version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042493#M12960</link>
      <description>and the 0 is optional.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 24 Jul 2007 06:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042493#M12960</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-07-24T06:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: dir/full latest version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042494#M12961</link>
      <description>For sake of completeness, you can also use:&lt;BR /&gt;&lt;BR /&gt;$DIR/VERSIONS=1 file.ext&lt;BR /&gt;&lt;BR /&gt;Personally I just always use: $DIR file.ext.&lt;BR /&gt;&lt;BR /&gt;The . types slightly more easy for me,&lt;BR /&gt;and every now and then someone is surprised to see the . as alternative to ; in this case.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 10:37:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042494#M12961</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-07-24T10:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: dir/full latest version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042495#M12962</link>
      <description>&lt;!--!*#--&gt;There is a potential gotcha with using /VESRION=1 instead of ;0 or ;.&lt;BR /&gt;&lt;BR /&gt;While they will produce the same result with a simple "directory filename" command as discussed here, consider the commands:&lt;BR /&gt;&lt;BR /&gt;$ DIR *.LOG; /BEFORE=TODAY&lt;BR /&gt;which will display nothing if the latest version of all log files were created today, as opposed to...&lt;BR /&gt;&lt;BR /&gt;$ DIR *.LOG /BEFORE=TODAY /VERSION=1&lt;BR /&gt;which will display one old version (the last one created before today) of each log file.&lt;BR /&gt;&lt;BR /&gt;Also there is a performance difference since with ;0 only the latest version of the file is looked up by RMS but with /VERSION=1 and without ;0 RMS looks up all versions and the DIRECTORY program ignores other versions. You can see this by first doing:&lt;BR /&gt;$ SET WATCH FILE/CLASS=(MAJOR,DIR)</description>
      <pubDate>Tue, 24 Jul 2007 12:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042495#M12962</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2007-07-24T12:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: dir/full latest version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042496#M12963</link>
      <description>If typing is a problem try&lt;BR /&gt;&lt;BR /&gt;$ dir ;</description>
      <pubDate>Tue, 24 Jul 2007 19:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dir-full-latest-version/m-p/4042496#M12963</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2007-07-24T19:04:16Z</dc:date>
    </item>
  </channel>
</rss>

