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

Reply via email to