|
This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] Rather reduces it's effectiveness for the original poster. How do you search multiple files. Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin Vernon Hamberg <vhamberg@attbi.com> Sent by: midrange-l-admin@midrange.com 04/04/2002 07:11 PM Please respond to midrange-l To: midrange-l@midrange.com cc: Fax to: Subject: RE: Need to scan files Turns out we do have qshell up. I tried this and it worked. You need the member. I got the same error when I left the member off. At 05:40 PM 4/4/02 -0600, you wrote: >Don't have QSHELL installed on this system. Have you tried extending the >path to the member? A file is treated like a directory, the member is the >real data part. > >At 02:58 PM 4/4/02 -0500, you wrote: >>Actually I was just trying out that theory.....using grep/tail. >>Doesn't seem to work for files in the QSYS.LIB file system. >> >>STRQSH >>cd .. >>cd QSYS.LIB/PRODFILE.LIB >> >>tail DSIPICKS.FILE >>tail: 001-2104 Error found reading from file DSIPICKS.FILE. Operation not >>supported. >> >>grep -c 'CUSHION' DSIPICKS.FILE >>0 <zero returned> >> >>Too bad really. But I sure understand why IBM wouldn't allow >>things like this -- potentially very dangerous..... >> >>Terry >> >> >> >> > -----Original Message----- >> > From: rob@dekko.com [mailto:rob@dekko.com] >> > Sent: Thursday, April 04, 2002 2:37 PM >> > To: midrange-l@midrange.com >> > Subject: Re: Need to scan files >> > >> > >> > This is a multipart message in MIME format. >> > -- >> > [ Picked text/plain from multipart/alternative ] >> > Perhaps this is a flashback to my college days, but can you do a >> > STRQSH and then use some unix command to search through all files in a >> > particular library like >> > /qsys.lib/mylib.lib/*.file >> > And if your file has multiple members would it search each of >> > those? If >> > so, what is the unix command? >> > >> > Rob Berendt >> > -- >> > "They that can give up essential liberty to obtain a little temporary >> > safety deserve neither liberty nor safety." >> > Benjamin Franklin >> > >> > >> > >> > >> > "Rick Klopfer" <rklopfer@daytonprogress.com> >> > Sent by: midrange-l-admin@midrange.com >> > 04/04/2002 02:28 PM >> > Please respond to midrange-l >> > >> > >> > To: <midrange-l@midrange.com> >> > cc: >> > Fax to: >> > Subject: Need to scan files >> > >> > >> > This is a MIME message. If you are reading this text, you may want to >> > consider changing to a mail reader or gateway that understands how to >> > properly handle MIME multipart messages. >> > -- >> > We have a need to scan thru "a whole bunch" of physical files for a >> > particular set of characters. We are trying not to write too >> > much code. >> > Wondering is there is a utility around that will do this?? >> > >> > Rick-- >> > -- >> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >> > <HTML><HEAD> >> > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> >> > <META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD> >> > <BODY style="MARGIN-TOP: 2px; FONT: 8pt MS Sans Serif; >> > MARGIN-LEFT: 2px"> >> > <DIV><FONT size=1>We have a need to scan thru "a whole bunch" >> > of physical >> > files >> > for a particular set of characters. We are trying not to >> > write too >> > much code. Wondering is there is a utility around >> > that will do >> > this??</FONT></DIV> >> > <DIV><FONT size=1></FONT> </DIV> >> > <DIV><FONT size=1>Rick--</FONT></DIV></BODY></HTML> >> > _______________________________________________ >> > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing >> > list >> > To post a message email: MIDRANGE-L@midrange.com >> > To subscribe, unsubscribe, or change list options, >> > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >> > or email: MIDRANGE-L-request@midrange.com >> > 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@midrange.com >> > To subscribe, unsubscribe, or change list options, >> > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >> > or email: MIDRANGE-L-request@midrange.com >> > 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@midrange.com >>To subscribe, unsubscribe, or change list options, >>visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >>or email: MIDRANGE-L-request@midrange.com >>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@midrange.com >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >or email: MIDRANGE-L-request@midrange.com >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@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.