× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks John, but i have too many and large files to do that.

i have gotten this so far, but its not returning the information i know exists:

DSPFD FILE(datalibray*ALL)
TYPE(*MBRLIST)
OUTPUT(*OUTFILE)
OUTFILE(TIM/ALLFILES)

db2 "SELECT '/QSYS.LIB/' || trim(MLLIB) || '.LIB/' || trim(MLFILE) || '.FILE/' || trim(MLNAME) || '.MBR' FROM tim.allfiles
WHERE MLSEU=' ' and MLFTYP='P'"
| grep 'JUDY'


i know a huge files contains JUDY, but its not returning that as a result.

On 1/16/2016 1:33 PM, JRusling@xxxxxxxxxxx wrote:
I assume you mean 'in a library' since you indicate 'physical' files.

I was tasked to search all files in a library for a specific string.

The requestor couldn't tell me which files or fields to search in.

I ftped all physical files from said library to my pc, this resulted in
readable (searchable) text fields but not readable number fields.
(but i wasn't searching those)

Then i used Textpad (pc text editor) to search the folder containing the
downloaded files.

This worked for my purposes.

John

i want to scan all physical files in a directory for a specific string.
<br />
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.