Jim,

If you have SimpList installed, enter any number of SEEK commands on the member list command line. For example:

===> seek apple all
===> seek berry suffix 10 20 all
===> seek 'red grape' 60 all

The resulting member list will only display the members containing all of the specified strings. Members can be selected for any function (e.g. copy, edit, print, transfer to PC, etc), or you can print a report of all the members that matched the criteria. At any point you can reverse back through the chain; e.g. go back to the list of members containing 'apple' and 'berry' and perform a new search for 'white grape' instead of 'red grape'.

HTH,

Dave Salt
SimpList(tm) - The easiest, most powerful way to surf a mainframe!
http://www.mackinney.com/products/SIM/simplist.htm





From: Jim McAlpine <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU>
To: IBM-MAIN@BAMA.UA.EDU
Subject: SRCHFOR for multile strings
Date: Mon, 18 Sep 2006 10:33:17 +0100

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.

Jim McAlpine

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

Reply via email to