Norbert, that does work but unfortunatley I end up with 500,000 lines of output with the source of every member that is successfully found when all I really want is a list of members. Obviously I can edit the ouitput somehow but it''s a bit kludgy.
Jim McAlpine On 9/18/06, Norbert Friemel <[EMAIL PROTECTED]> wrote:
On Mon, 18 Sep 2006 10:33:17 +0100, Jim McAlpine wrote: >Is it possible to use SRCHFOR to search for string1 AND string2 and >only show members that contain both strings. I can't seem to see a process >option that does that. FINDALL gets me any member containing either >string. Alternatively, is there anything on the CBTTAPE. > PDS Command (File 182)? //S1 EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * PDS 'my.lib' FIND $:Z ' target1 ' THEN(SUBLIST) FIND * ' target2 ' THEN(LIST) /* Norbert Friemel ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

