Rob and Others,

Midrange Guru ran an tip on find and grep a while
back, the URL is:

http://www.midrangeserver.com/guruo/guruo011102.html

The following should work:

find /QSYS.LIB/MYLIB.LIB/Q*.FILE -exec grep 'searchstring' {} \;

Be aware that you will run many jobs doing
this so you might read:

http://www.midrangeserver.com/guruo/mgo022202-story01.html

David Morris

>>> rob@dekko.com 04/05/02 05:47 AM >>>
Interesting.  I tried it here and got the same results as you.  Nix on
the
data pf's, but ok on the source pf's.

I know very little about Unix.  So this command will not search through
a
directory?  Thus no ability to search through all the members is a set
of
files.  Therefore it is probably not worth the fight to get IBM to have
this working on data pf's.

Rob Berendt



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.