<?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: Looking For .Com files.... in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564764#M6151</link>
    <description>Ok,&lt;BR /&gt;&lt;BR /&gt;There is a command procedure which will search all disks:&lt;BR /&gt;&lt;BR /&gt;$l:&lt;BR /&gt;$ dv=f$device("*:","DISK")&lt;BR /&gt;$ if dv.eqs."" then exit&lt;BR /&gt;$ if f$getdvi(dv,"MNT") then dir 'dv'[*...]*.com&lt;BR /&gt;$ goto l&lt;BR /&gt;&lt;BR /&gt;Maybe needs some more controls but in most cases it will work.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
    <pubDate>Wed, 15 Jun 2005 13:23:38 GMT</pubDate>
    <dc:creator>Bojan Nemec</dc:creator>
    <dc:date>2005-06-15T13:23:38Z</dc:date>
    <item>
      <title>Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564760#M6147</link>
      <description>I am looking for all the .com files that exist on each disk.&lt;BR /&gt;&lt;BR /&gt;I know the basic syntax is:&lt;BR /&gt;&lt;BR /&gt;dir dev:[000000...]*.com&lt;BR /&gt;&lt;BR /&gt;But how do I find out what to substitute for the "000000"??&lt;BR /&gt;&lt;BR /&gt;Thanx In Advance,&lt;BR /&gt;-&amp;gt;C.Waddell</description>
      <pubDate>Wed, 15 Jun 2005 12:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564760#M6147</guid>
      <dc:creator>Christopher Waddell</dc:creator>
      <dc:date>2005-06-15T12:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564761#M6148</link>
      <description>Christopher,&lt;BR /&gt;&lt;BR /&gt;Wellcome to the VMS forum!&lt;BR /&gt;&lt;BR /&gt;The syntax is:&lt;BR /&gt;&lt;BR /&gt;$ dir dev:[*...]*.com&lt;BR /&gt;&lt;BR /&gt;This will search the whole disk.&lt;BR /&gt;I dont know what you means with what to substitute for the "000000".&lt;BR /&gt;&lt;BR /&gt;The [000000] directory is the top directory of the device. Something like / in unix or c:\ in DOS or Windows.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 15 Jun 2005 12:52:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564761#M6148</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-06-15T12:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564762#M6149</link>
      <description>Thanx for the quick response.&lt;BR /&gt;&lt;BR /&gt;The problem is I have like 10 disks on this machine and I would like to either query them all from the same place or just switch to each one an query it.&lt;BR /&gt;&lt;BR /&gt;I apologize for my terminology, I'm a real noob at this.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;C.</description>
      <pubDate>Wed, 15 Jun 2005 13:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564762#M6149</guid>
      <dc:creator>Christopher Waddell</dc:creator>
      <dc:date>2005-06-15T13:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564763#M6150</link>
      <description>Christopher,&lt;BR /&gt;&lt;BR /&gt;You can not do a command like:&lt;BR /&gt;&lt;BR /&gt;$ dir *:[*...]&lt;BR /&gt;&lt;BR /&gt;but you can type:&lt;BR /&gt;&lt;BR /&gt;$ dir disk1:[*...]*.com&lt;BR /&gt;$ dir disk2:[*...]*.com&lt;BR /&gt;&lt;BR /&gt;or in one line:&lt;BR /&gt;&lt;BR /&gt;$ dir disk1:[*...]*.com,disk2:[*...]*.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 15 Jun 2005 13:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564763#M6150</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-06-15T13:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564764#M6151</link>
      <description>Ok,&lt;BR /&gt;&lt;BR /&gt;There is a command procedure which will search all disks:&lt;BR /&gt;&lt;BR /&gt;$l:&lt;BR /&gt;$ dv=f$device("*:","DISK")&lt;BR /&gt;$ if dv.eqs."" then exit&lt;BR /&gt;$ if f$getdvi(dv,"MNT") then dir 'dv'[*...]*.com&lt;BR /&gt;$ goto l&lt;BR /&gt;&lt;BR /&gt;Maybe needs some more controls but in most cases it will work.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 15 Jun 2005 13:23:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564764#M6151</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-06-15T13:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564765#M6152</link>
      <description>Looks like that prog wants to work, but, it claims now I have insufficent privledge.&lt;BR /&gt;&lt;BR /&gt;Thanx for all your help. I need to rattle some cages to get the permissions to do my job.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;C.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jun 2005 13:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564765#M6152</guid>
      <dc:creator>Christopher Waddell</dc:creator>
      <dc:date>2005-06-15T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564766#M6153</link>
      <description>You can define a search list for all disks.&lt;BR /&gt;Then all_disk:&amp;lt;000000...&amp;gt;*.com will give you all com files on all disks.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 15 Jun 2005 15:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564766#M6153</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-06-15T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564767#M6154</link>
      <description>no permissions:&lt;BR /&gt;Usually directories and files do not have the WORLD:R protection.&lt;BR /&gt;You need to be privileged enough to see all files: READALL or higher (SYSPRV,BYPASS) or be in a system group (UIC group low enough to fall into the SYSTEM: protection, usually &amp;lt;10 , exectly defined by sysgen parameter MAXSYSGROUP).</description>
      <pubDate>Thu, 16 Jun 2005 01:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564767#M6154</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-06-16T01:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564768#M6155</link>
      <description>Christopher,&lt;BR /&gt;&lt;BR /&gt;since you are new to VMS (Welcome!):&lt;BR /&gt;&lt;BR /&gt;The structure of the Sytem Disk can be quite confusing to newbees.&lt;BR /&gt;&lt;BR /&gt;The toplevel contains a (varying) number of SYS* directories.&lt;BR /&gt;EACH of those have a SYSCOMMON.DIR&lt;BR /&gt;BUT: those are ONLY aliases! (more or less comparable to, but definitely different from, softlinks on *UX.&lt;BR /&gt;They are all aliases of VMS$COMMON.DIR&lt;BR /&gt;&lt;BR /&gt;So, in your procedure you will see the same sequence of files a number of times.&lt;BR /&gt;They really are ONLY different paths to SAME files, so do NOT try to "clean up" the "superflous" files, DELETing ONE means you delete the ONLY one!&lt;BR /&gt;&lt;BR /&gt;For completeness: not really often, but it DOES occur that that construct is also used for other purposes than just the system structure.&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</description>
      <pubDate>Thu, 16 Jun 2005 06:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564768#M6155</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-06-16T06:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564769#M6156</link>
      <description>Attached is a small DCL routine which uses the DFU utility to quickly scan for spcecific files on all or some disks.&lt;BR /&gt;At the begining are some customizations for&lt;BR /&gt;the DFU utility.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Thu, 16 Jun 2005 07:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564769#M6156</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-06-16T07:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564770#M6157</link>
      <description>That command procedure looks familiar!&lt;BR /&gt;&lt;BR /&gt;BTW There are more like this at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dcl.openvms.org/" target="_blank"&gt;http://dcl.openvms.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PHB</description>
      <pubDate>Thu, 16 Jun 2005 07:40:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564770#M6157</guid>
      <dc:creator>Peter Barkas</dc:creator>
      <dc:date>2005-06-16T07:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564771#M6158</link>
      <description>I am overwhelmed!&lt;BR /&gt;&lt;BR /&gt;Thanx to all for you help. &lt;BR /&gt;&lt;BR /&gt;To clairify: I am cataloging only. No deleting is ever planned. &lt;BR /&gt;&lt;BR /&gt;Now this works real well:&lt;BR /&gt;&lt;BR /&gt;$Dir _$1$DKA0:[000000...]*.com&lt;BR /&gt;&lt;BR /&gt;Perfect, as a matter of fact. I get a nice list for the dive I can capture in a file. However, there is one little thing. This gives me all the versions of a file (;*) and I only want the latest.&lt;BR /&gt;&lt;BR /&gt;Is there a way to specify that??&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;C.</description>
      <pubDate>Thu, 16 Jun 2005 11:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564771#M6158</guid>
      <dc:creator>Christopher Waddell</dc:creator>
      <dc:date>2005-06-16T11:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564772#M6159</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Adding a semicolon after the file type will result in displaying just the latest version of the files. &lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;$Dir _$1$DKA0:[000000...]*.com;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;BC</description>
      <pubDate>Thu, 16 Jun 2005 12:02:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564772#M6159</guid>
      <dc:creator>Bob Carter_3</dc:creator>
      <dc:date>2005-06-16T12:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Looking For .Com files....</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564773#M6160</link>
      <description>Chris,&lt;BR /&gt;welcome in vms forum :-)&lt;BR /&gt;&lt;BR /&gt;If you want to catalog you can retrieve only file name with follow commnad&lt;BR /&gt;$ DIR &lt;DEV&gt;:[000000...]*.COM; /COL=1&lt;BR /&gt;you can also redirect output to file&lt;BR /&gt;$ DIR &lt;DEV&gt;:[000000...]*.COM; /COL=1 -/OUT=&lt;MYFILE&gt;&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/MYFILE&gt;&lt;/DEV&gt;&lt;/DEV&gt;</description>
      <pubDate>Fri, 17 Jun 2005 01:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/looking-for-com-files/m-p/3564773#M6160</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-06-17T01:28:12Z</dc:date>
    </item>
  </channel>
</rss>

