<?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: list files with minimum versionnumber in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965561#M22821</link>
    <description>If you have DFU available, then your command does exist on a disk basis.&lt;BR /&gt;&lt;BR /&gt;dfu&amp;gt; search ddau: /vers=min:30000&lt;BR /&gt;&lt;BR /&gt;You can also find files with a minimum number of versions&lt;BR /&gt;&lt;BR /&gt;dfu&amp;gt; dir ddau:/vers=25&lt;BR /&gt;&lt;BR /&gt;will list all files on ddau: with at least 25 versions.&lt;BR /&gt;&lt;BR /&gt;DFU is available on the freeware CD collection&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Mar 2006 12:09:58 GMT</pubDate>
    <dc:creator>Duncan Morris</dc:creator>
    <dc:date>2006-03-08T12:09:58Z</dc:date>
    <item>
      <title>list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965559#M22819</link>
      <description>Hi all!&lt;BR /&gt;&lt;BR /&gt;Is there a way to list files on a disk with versionnumbers higher than a certain versionnumber? For example:&lt;BR /&gt;&lt;BR /&gt;dir /select=version=min=30000&lt;BR /&gt;&lt;BR /&gt;Only this commando does not exist.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Sjors</description>
      <pubDate>Wed, 08 Mar 2006 11:44:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965559#M22819</guid>
      <dc:creator>Sjors Takes</dc:creator>
      <dc:date>2006-03-08T11:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965560#M22820</link>
      <description>Try this. No command available.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 08 Mar 2006 11:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965560#M22820</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-03-08T11:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965561#M22821</link>
      <description>If you have DFU available, then your command does exist on a disk basis.&lt;BR /&gt;&lt;BR /&gt;dfu&amp;gt; search ddau: /vers=min:30000&lt;BR /&gt;&lt;BR /&gt;You can also find files with a minimum number of versions&lt;BR /&gt;&lt;BR /&gt;dfu&amp;gt; dir ddau:/vers=25&lt;BR /&gt;&lt;BR /&gt;will list all files on ddau: with at least 25 versions.&lt;BR /&gt;&lt;BR /&gt;DFU is available on the freeware CD collection&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Mar 2006 12:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965561#M22821</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2006-03-08T12:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965562#M22822</link>
      <description>You can find DFU from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/freeware/freeware70/dfu/" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware70/dfu/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and I have attached a sample of the output from the DFU scan, which is infinitely faster than a straight directory search.&lt;BR /&gt;&lt;BR /&gt;If you are constrained by local policies or old versions of the OS, then use Wim's suggestion&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Mar 2006 12:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965562#M22822</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2006-03-08T12:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965563#M22823</link>
      <description>The command your are looking for will be avaiable in OpenVMS V8.2:&lt;BR /&gt;&lt;BR /&gt;From the DCL book #1...&lt;BR /&gt;&lt;BR /&gt;VERSION=(option[,option]) Displays all files with version numbers that fall within the range specified by one or both of the&lt;BR /&gt;following options:&lt;BR /&gt;MINIMUM=number&lt;BR /&gt;MAXIMUM=number&lt;BR /&gt;&lt;BR /&gt;However, for most applications, notably those walking 'the whole disk', I would still recommend DFU and is walks the INDEXF.SYS in chunks and thus can operate 100x more efficiently. (ok, maybe 10x :-)</description>
      <pubDate>Wed, 08 Mar 2006 12:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965563#M22823</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-03-08T12:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965564#M22824</link>
      <description>You can use the lexical function&lt;BR /&gt;&lt;BR /&gt;F$SEARCH("disk_name:[*...]*.*;",1) to search for the highest version number in a command procedure.  Then it is simply a matter if looking at the result of the f$search and seeing if the version number is higher than a value specified.  You could use P1 for the disk name and P2 for the high version number to check for.  Loop through this call until you get "" back from the call to indicate that it has checked all files.&lt;BR /&gt;&lt;BR /&gt;Phil&lt;BR /&gt;&lt;BR /&gt;P.S. - That is if you don't have DFU. :)</description>
      <pubDate>Wed, 08 Mar 2006 12:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965564#M22824</guid>
      <dc:creator>Phillip Thayer</dc:creator>
      <dc:date>2006-03-08T12:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965565#M22825</link>
      <description>&lt;BR /&gt;Using a PERL one-liner, the command to do this would be:&lt;BR /&gt;&lt;BR /&gt;$perl -e "while (&amp;lt;[...]*.*;*&amp;gt;) { print if ((split /;/)[1] &amp;gt; 5000) }"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The &amp;lt;[...]*.*;*&amp;gt; is a 'glob' string.&lt;BR /&gt;The while (&amp;lt;&amp;gt;) tosses each match into the default variable "$_"&lt;BR /&gt;The ";" must be there in the glob string, or it won't be there in the result (to help Unix ports).&lt;BR /&gt;&lt;BR /&gt;The (split /;/) acts on the default variable $_ and delivers an array of chunks split by the seperator, in this case a semicolon.&lt;BR /&gt;The ()[1] fetched element 1 in the 0 based array, which here will eb the version numbers.&lt;BR /&gt;The print prints the default variable, which is that desired filename.&lt;BR /&gt;You may need to ass an explicit newline to that:&lt;BR /&gt;&lt;BR /&gt;print $_ . "\n" &lt;BR /&gt;or&lt;BR /&gt;print "$_\n"&lt;BR /&gt;&lt;BR /&gt;Because the perl prorgam is a quoted string you'll need to double up on the quotes:&lt;BR /&gt;&lt;BR /&gt;$ perl -e "while (&amp;lt;[...]*.tmp;*&amp;gt;) { print ""$_\n"" if ((split /;/)[1] &amp;gt; 30000) }"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Met vriendelijke groetjes,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Mar 2006 12:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965565#M22825</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-03-08T12:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965566#M22826</link>
      <description>Hello Sjors,&lt;BR /&gt;&lt;BR /&gt;Here's another suggestion, I like&lt;BR /&gt;Wim's option though because it lists&lt;BR /&gt;out every file above your selected minimum&lt;BR /&gt;&lt;BR /&gt;$!&lt;BR /&gt;$! Subtract whatever version number&lt;BR /&gt;$! you want from 32767...&lt;BR /&gt;$!&lt;BR /&gt;$ Number = 2767  &lt;BR /&gt;$ versions_above = 32767 -'Number'&lt;BR /&gt;$!&lt;BR /&gt;$ Dir Disk:[000000...]*.*;-'versions_above'&lt;BR /&gt;$!&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Wed, 08 Mar 2006 20:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965566#M22826</guid>
      <dc:creator>Tony_289</dc:creator>
      <dc:date>2006-03-08T20:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965567#M22827</link>
      <description>Hi Tony,&lt;BR /&gt;&lt;BR /&gt;Did you try that?&lt;BR /&gt;&lt;BR /&gt;The ;-N version numbers are relative.&lt;BR /&gt;so ;-2 mean ;5 if there is a ;6 and ;7 but could mean ;1 if there is just ;1;6 and ;`7&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Mar 2006 23:23:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965567#M22827</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-03-08T23:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965568#M22828</link>
      <description>Hein/Sjors&lt;BR /&gt;yes, sort of... I won't bore you with the details of what i wanted to (fully) reply with because I seriously mis-clicked when i shouldn't have (See Wim's)... please ignore my reply (Hein, Sjors, and others)-- An HP Forum Faux Pa&lt;BR /&gt;&lt;BR /&gt;Good reponses though&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;&lt;BR /&gt;Tony&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Mar 2006 01:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965568#M22828</guid>
      <dc:creator>Tony_289</dc:creator>
      <dc:date>2006-03-09T01:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965569#M22829</link>
      <description>Sjors,&lt;BR /&gt;&lt;BR /&gt;Others have already suggested using DFU. Here's a refinement that will isolate files to those which backlink to a particular directory, though it isn't elegant or completely foolproof.&lt;BR /&gt;&lt;BR /&gt;Let's say that the directory of interest is USER:[SMITH]. Then do this:&lt;BR /&gt;&lt;BR /&gt;$ DIR/FULL USER:[000000]SMITH.DIR&lt;BR /&gt;&lt;BR /&gt;Note the first number of the File IDfrom the first line of the output. Let's say it's (14085,5,0). Here, 14085 is the number you want.&lt;BR /&gt;&lt;BR /&gt;Then do this:&lt;BR /&gt;&lt;BR /&gt;DFU&amp;gt; SEARCH USER:/VERSION=MIN:50000/BAKFID=14085&lt;BR /&gt;&lt;BR /&gt;What you'll get is a list of all files with a version number of at least 50000 which backlink to the directory of interest.&lt;BR /&gt;&lt;BR /&gt;In some cases I suppose the backlink might not actually point to the directory you want to look at, but otherwise it works pretty well for me. (One such case being a file that's entered in more than one directory via $ SET FILE/ENTER...)&lt;BR /&gt;&lt;BR /&gt;I hope this will help you too.&lt;BR /&gt;&lt;BR /&gt;Galen&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Mar 2006 08:37:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965569#M22829</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2006-03-09T08:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965570#M22830</link>
      <description>Here is a command procedure we use on our systems to do the job now. &lt;BR /&gt;&lt;BR /&gt;This command procedure depends on an image or DCL procedure called LOGICAL_FROM_PIPE which you can find the DCL version of on the DCL.OpenVMS.org website.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Mon, 13 Mar 2006 08:47:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965570#M22830</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2006-03-13T08:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965571#M22831</link>
      <description>ok, thanks for your replies. DFU works fine on our backup system. But I am a little bit worried about a possible system crash. See thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=916010" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=916010&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Does the latest F11X patch solve this problem?&lt;BR /&gt;&lt;BR /&gt;Sjors</description>
      <pubDate>Mon, 27 Mar 2006 05:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965571#M22831</guid>
      <dc:creator>Sjors Takes</dc:creator>
      <dc:date>2006-03-27T05:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965572#M22832</link>
      <description>Sjors,&lt;BR /&gt;&lt;BR /&gt;the crash I reported was only with the UNDELETE function of DFU, which apparently digs deep into the filesystem.&lt;BR /&gt;Read the thread carefully, there was an advice on how to proceed with UNDELETE or just do not use it.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Mon, 27 Mar 2006 05:40:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965572#M22832</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-03-27T05:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: list files with minimum versionnumber</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965573#M22833</link>
      <description>dfu works</description>
      <pubDate>Fri, 21 Jul 2006 04:42:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/list-files-with-minimum-versionnumber/m-p/4965573#M22833</guid>
      <dc:creator>Sjors Takes</dc:creator>
      <dc:date>2006-07-21T04:42:59Z</dc:date>
    </item>
  </channel>
</rss>

