MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » July 2008

RE: Search OS/400 Physical Files



fixed

Again, PDM 25 comes to the rescue - you can enter the hex representation for packed data and it will find it. I'm not sure the WDSC iSeries search will do this - have not tried it.

And you can run opt 25 against several files and/or members - and you get to choose what to do when you find the search item - from *DSP to many others - prompt FNDSTRPDM for the options

Man, I feel like a broken record - and very cracked!!!

-------------- Original message --------------
From: Mike Cunningham <mcunning@xxxxxxx>

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.

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qcls
can.htm

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 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.





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

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact