<?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: File version in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840575#M10282</link>
    <description>As a *long* time VMS admin/support, I would STRONGLY recommend adding&lt;BR /&gt;&lt;BR /&gt;$ dir*ectory == "directory /version=1"&lt;BR /&gt;&lt;BR /&gt;to your login.com file (and add any other qualifiers if you already have a directory symbol defined). As mentioned above, sooner or later, you WILL want to have a recent older version of a file. But a directory listing that runs for screens with multiple instances of any given file name is definitely an annoyance. So, once you have the above directory symbol defined, the only time you will actually SEE multiple versions of a file is if you do something like&lt;BR /&gt;&lt;BR /&gt;$ dir /vers=10 /size file_i_think.i_corrupted&lt;BR /&gt;&lt;BR /&gt;You may also want to set a *reasonable* version limit (say, 20?) on all existing files:&lt;BR /&gt;&lt;BR /&gt;$ set file &amp;lt;...&amp;gt;*.* /version=20&lt;BR /&gt;$ purge &amp;lt;...&amp;gt;*.* /keep=20&lt;BR /&gt;&lt;BR /&gt;And also set the limit on future files in the directory, which command escapes me at the moment, but I am sure someone will follow on and post that as well.&lt;BR /&gt;&lt;BR /&gt;You can, when you are VERY sure, do a massive cleanup to get rid of any older versions:&lt;BR /&gt;&lt;BR /&gt;$ purge &amp;lt;...&amp;gt;*.*</description>
    <pubDate>Wed, 09 Aug 2006 19:05:46 GMT</pubDate>
    <dc:creator>Sheldon Smith</dc:creator>
    <dc:date>2006-08-09T19:05:46Z</dc:date>
    <item>
      <title>File version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840571#M10278</link>
      <description>There is any way to stop the file version incresing every time I edit and modify the file?</description>
      <pubDate>Wed, 09 Aug 2006 14:02:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840571#M10278</guid>
      <dc:creator>jpaulino05</dc:creator>
      <dc:date>2006-08-09T14:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: File version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840572#M10279</link>
      <description>jpaulino05 &lt;BR /&gt;&lt;BR /&gt;not by default,&lt;BR /&gt;but if you REALLY want it, you can &lt;BR /&gt;$ SET FILE/VERSION_LIMIT=1&lt;BR /&gt;and after editting &lt;FILE&gt;.&lt;EXT&gt; , you can&lt;BR /&gt;$ RENAME &lt;FILE&gt;.&lt;EXT&gt;  *.*;1&lt;BR /&gt;&lt;BR /&gt;But you will grow to regret this! Every once in a while it can be SOOOO useful to still have the old version(s).&lt;BR /&gt;&lt;BR /&gt;And when you are SURE you no longer have any use for them,&lt;BR /&gt;$ PURGE &lt;FILE&gt;.&lt;EXT&gt;  &lt;BR /&gt;will bring the number down to one.&lt;BR /&gt;And for any normal use it will be a while till you reach 32767   (2^15 - 1), which is the highest number allowed.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;&lt;BR /&gt;&lt;/EXT&gt;&lt;/FILE&gt;&lt;/EXT&gt;&lt;/FILE&gt;&lt;/EXT&gt;&lt;/FILE&gt;</description>
      <pubDate>Wed, 09 Aug 2006 14:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840572#M10279</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-08-09T14:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: File version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840573#M10280</link>
      <description>If you put thee files into the same directory, you cann set the file version limit on ALL files in that directory using&lt;BR /&gt;$ SET DIRECTORY/VERSION_LIMIT=1 &lt;THAT directory=""&gt;. The file number _will_ increase( indeed: rename the file to version 1)&lt;BR /&gt;If you want it the Unix way, try the GNV packages and use bash (this has some nsaty issues, though).&lt;BR /&gt;&lt;BR /&gt;But why would you. You do not have to specify the version number in a filspec, ANY aaccess without it will give you the highest version.  There will be one day that you will regret you ever lost your "old" files.&lt;BR /&gt;&lt;/THAT&gt;</description>
      <pubDate>Wed, 09 Aug 2006 15:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840573#M10280</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2006-08-09T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: File version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840574#M10281</link>
      <description>Exelent. thks a lot</description>
      <pubDate>Wed, 09 Aug 2006 16:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840574#M10281</guid>
      <dc:creator>jpaulino05</dc:creator>
      <dc:date>2006-08-09T16:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: File version</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840575#M10282</link>
      <description>As a *long* time VMS admin/support, I would STRONGLY recommend adding&lt;BR /&gt;&lt;BR /&gt;$ dir*ectory == "directory /version=1"&lt;BR /&gt;&lt;BR /&gt;to your login.com file (and add any other qualifiers if you already have a directory symbol defined). As mentioned above, sooner or later, you WILL want to have a recent older version of a file. But a directory listing that runs for screens with multiple instances of any given file name is definitely an annoyance. So, once you have the above directory symbol defined, the only time you will actually SEE multiple versions of a file is if you do something like&lt;BR /&gt;&lt;BR /&gt;$ dir /vers=10 /size file_i_think.i_corrupted&lt;BR /&gt;&lt;BR /&gt;You may also want to set a *reasonable* version limit (say, 20?) on all existing files:&lt;BR /&gt;&lt;BR /&gt;$ set file &amp;lt;...&amp;gt;*.* /version=20&lt;BR /&gt;$ purge &amp;lt;...&amp;gt;*.* /keep=20&lt;BR /&gt;&lt;BR /&gt;And also set the limit on future files in the directory, which command escapes me at the moment, but I am sure someone will follow on and post that as well.&lt;BR /&gt;&lt;BR /&gt;You can, when you are VERY sure, do a massive cleanup to get rid of any older versions:&lt;BR /&gt;&lt;BR /&gt;$ purge &amp;lt;...&amp;gt;*.*</description>
      <pubDate>Wed, 09 Aug 2006 19:05:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-version/m-p/3840575#M10282</guid>
      <dc:creator>Sheldon Smith</dc:creator>
      <dc:date>2006-08-09T19:05:46Z</dc:date>
    </item>
  </channel>
</rss>

