If this is just a one time thing and its character data you're looking for you could copy the file to *PRINT and then search the spool file. Packed data would not be searchable and if the string happened to break between lines it would not be found but this might be the fastest way to find what you're looking for

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Pat Barber
Sent: Wednesday, July 09, 2008 4:19 PM
To: Midrange Systems Technical Discussion
Subject: Re: Search OS/400 Physical Files

From a programming standpoint, here is another way,
which has been around since the beginning.


CRPence wrote:

Shannon ODonnell wrote:

Does anyone know of a utility that will allow you to do a generic
search of OS/400 one or more physical files (singly or all at once)
for records containing a particular character string?

I'm thinking of something like the Windows Search function which
allows you to search for files containing a string within them.

I wonder if one of the unix-type commands I could run in Qshell would
have something that would work.

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page