<?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: Challenge in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906136#M32275</link>
    <description>PS,&lt;BR /&gt;&lt;BR /&gt;Maybe a hint for Guy. Why not add two qualifiers to DIFFERENCES: /HEAD and /STATISTICS and respective /NOHEAD and /NOSTATISTICS which will give you only the different records (of course with /NONUMBER).&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
    <pubDate>Wed, 08 Jun 2005 01:59:48 GMT</pubDate>
    <dc:creator>Bojan Nemec</dc:creator>
    <dc:date>2005-06-08T01:59:48Z</dc:date>
    <item>
      <title>Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906131#M32270</link>
      <description>Ok,&lt;BR /&gt;&lt;BR /&gt;this just as an exercise.&lt;BR /&gt;&lt;BR /&gt;Follow this stream from top down, and try to find a better solution!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=898993" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=898993&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I am curious!&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;</description>
      <pubDate>Tue, 07 Jun 2005 21:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906131#M32270</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-06-07T21:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906132#M32271</link>
      <description>Jan, 100 pts for showing up the Eunuchs weenies... &lt;BR /&gt;&lt;BR /&gt;q&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jun 2005 21:39:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906132#M32271</guid>
      <dc:creator>Peter Quodling</dc:creator>
      <dc:date>2005-06-07T21:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906133#M32272</link>
      <description>Well,&lt;BR /&gt;&lt;BR /&gt;I must admit,&lt;BR /&gt;I HAVE been boasting a little, and I only CAN, because of... Guy Peleg.&lt;BR /&gt;&lt;BR /&gt;In my solution, I used some of the qualifiers that Guy only recently introduced, and presented here in Nashua with his usual enthousiasm. You WILL need the last 732 or 82 DCL kit.&lt;BR /&gt;&lt;BR /&gt;Never mind older versions (AFAIK).&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;</description>
      <pubDate>Tue, 07 Jun 2005 22:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906133#M32272</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-06-07T22:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906134#M32273</link>
      <description>install Perl on Vms, and use the Perl option ?&lt;BR /&gt;&lt;BR /&gt;gawk :== disk:&lt;DIR&gt;gawk&lt;BR /&gt;(in tcpip$examples.snmp, if memory serves me), and use awk ?&lt;BR /&gt;&lt;BR /&gt;Dcl is not a good tool here IMHO&lt;/DIR&gt;</description>
      <pubDate>Wed, 08 Jun 2005 01:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906134#M32273</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2005-06-08T01:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906135#M32274</link>
      <description>Jan,&lt;BR /&gt;&lt;BR /&gt;You give the response in the link.&lt;BR /&gt;But how to do this on an older VMS version without the new qualifiers?&lt;BR /&gt;Need more than one command ;)&lt;BR /&gt;&lt;BR /&gt;$ DIR &lt;FSPEC&gt; /COL=1/NOHEAD/NOTRAIL/OUT=ALL.TMP&lt;BR /&gt;$ SEA &lt;FSPEC&gt; &lt;STRLIST&gt; /WIN=0/OUT=FND.TMP&lt;BR /&gt;$ DIFF FND.TMP ALL.TMP/SEP=REVISION/MATCH=1&lt;BR /&gt;&lt;BR /&gt;Some more work it will be needed to clean the result from the header and footer.&lt;BR /&gt;&lt;BR /&gt;Bojan&lt;/STRLIST&gt;&lt;/FSPEC&gt;&lt;/FSPEC&gt;</description>
      <pubDate>Wed, 08 Jun 2005 01:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906135#M32274</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-06-08T01:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906136#M32275</link>
      <description>PS,&lt;BR /&gt;&lt;BR /&gt;Maybe a hint for Guy. Why not add two qualifiers to DIFFERENCES: /HEAD and /STATISTICS and respective /NOHEAD and /NOSTATISTICS which will give you only the different records (of course with /NONUMBER).&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 08 Jun 2005 01:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906136#M32275</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-06-08T01:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906137#M32276</link>
      <description>hey,&lt;BR /&gt;&lt;BR /&gt;the whole thing is about HOW to get these results IN UNIX, remember?&lt;BR /&gt;&lt;BR /&gt;I normally only read those threads in an attempt to get a feeling for the Unix way of looking at things, and solving issues.&lt;BR /&gt;&lt;BR /&gt;And ONLY because so many different people came to different constructs, which turned out no solutions, I came to do the excersize about how I would solve it.&lt;BR /&gt;&lt;BR /&gt;AFAIK perl is there on *X as well, and more widely spread as on VMS, so I think any pearl solution would not even need the detour via VMS.&lt;BR /&gt;&lt;BR /&gt;And as a practical solution the infrastructure will indeed not very often be there..&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;</description>
      <pubDate>Wed, 08 Jun 2005 05:54:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906137#M32276</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-06-08T05:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906138#M32277</link>
      <description>One approach to doing this on Yeew-Nix! would be to install a simh VAX and run VMS on it, then do it on VMS.&lt;BR /&gt;&lt;BR /&gt;:-D&lt;BR /&gt;&lt;BR /&gt;(Do I need to explain Yeew-Nix!  ???  :-)</description>
      <pubDate>Wed, 08 Jun 2005 06:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906138#M32277</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2005-06-08T06:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906139#M32278</link>
      <description>Jan, I am speaking from memory, and did not try this on a VMS machine yet.  But I suspect your solution is incorrect:&lt;BR /&gt;$ SEARCH [...]*.*&lt;BR /&gt;"&lt;SEARCHTEXT1&gt;&lt;BR /&gt;&lt;BR /&gt;File ABC.TXT contains:&lt;BR /&gt;  a&lt;BR /&gt;  b&lt;BR /&gt;  c&lt;BR /&gt;&lt;BR /&gt;SEARCH abc.txt a,c/MATCH=NOR/LIMIT=1/SILENT&lt;BR /&gt;will indicate ABC.TXT as a solution, even &lt;BR /&gt;though it contains "A".  The question as I&lt;BR /&gt;interpreted it stated that they wanted files that did not contain ANY of the search strings.  I think Bojan's solution (for which you awarded only 1 point) hits the mark; although I have not tested it.&lt;/SEARCHTEXT1&gt;</description>
      <pubDate>Wed, 08 Jun 2005 10:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906139#M32278</guid>
      <dc:creator>Garry Fruth</dc:creator>
      <dc:date>2005-06-08T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906140#M32279</link>
      <description>Anyone able to verify GarryÂ´s statement?&lt;BR /&gt;If he is right, that would pull the whole basement from under this stream  :-(&lt;BR /&gt;&lt;BR /&gt;I defer giving points till after verification.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;j</description>
      <pubDate>Wed, 08 Jun 2005 11:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906140#M32279</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-06-08T11:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906141#M32280</link>
      <description>Well, /match looks at lines, so in the NOR example, if any *line* doesn't match it will be cosidered a success.&lt;BR /&gt;&lt;BR /&gt;If a command file is permitted, may I offer:&lt;BR /&gt;&lt;BR /&gt;$loop:&lt;BR /&gt;$ filename = f$search("[...]*.*")&lt;BR /&gt;$ if filename .eqs. "" then exit&lt;BR /&gt;$ search/noout/nowarn 'filename' -&lt;BR /&gt;&lt;SEARCH-STRINGS&gt;&lt;BR /&gt;$ if $status .ne. %X00000001 then -&lt;BR /&gt;  write sys$output "''filename'"&lt;BR /&gt;$ goto loop&lt;BR /&gt;&lt;BR /&gt;That works on older and newer systems, but I'll let someone else do the pipe command.&lt;BR /&gt;&lt;BR /&gt; -Doug&lt;BR /&gt;&lt;/SEARCH-STRINGS&gt;</description>
      <pubDate>Wed, 08 Jun 2005 12:16:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906141#M32280</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2005-06-08T12:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906142#M32281</link>
      <description>Yes, a DCL proc would of course be an easy one, but it was just the idea of the single command that made me get in to start with.&lt;BR /&gt;&lt;BR /&gt;Regrettably you blew that, and as a penance I paid each 10 points.&lt;BR /&gt;&lt;BR /&gt;Bojan, the first time(s) I can assign points to you there are 7 still in stock for you. &lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me. &lt;BR /&gt;(I ll get one now to wash away the foul taste of screwing up)&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 08 Jun 2005 17:16:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/challenge/m-p/4906142#M32281</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-06-08T17:16:05Z</dc:date>
    </item>
  </channel>
</rss>

