Hello David,

You can use IBM supplied SRCHFOR in batch (or online).

eg.

//SYDBHS14 JOB (ACCT#),'SEARCH SYSLOG',                                
//             CLASS=I,                                                
//             MSGCLASS=W,                                             
//             NOTIFY=SYDBH                                            
//SEARCH  EXEC PGM=ISRSUPC,                                           *
//            PARM=(SRCHCMP,                                           
//            'LONGLN NOPRTCC ANYC SDUPM')                             
//NEWDD  DD DISP=SHR,DSN=SYS1.DATASET1                      
//       DD DISP=SHR,DSN=SYS1.DATASET2                
//       DD DISP=SHR,DSN=SYS1.DATASET3                      
//       DD DISP=SHR,DSN=SYS1.DATASET4                     
//       DD DISP=SHR,DSN=SYS1.DATASET5                         
//       DD DISP=SHR,DSN=SYS1.DATASET6                          
//       DD DISP=SHR,DSN=SYS1.DATASET7                         
//OUTDD  DD SYSOUT=(W)                                                 
//SYSIN  DD *                                                          
SRCHFOR  'whatamilokkingfor'                   
/*                                             

The SDUPM parameter modifies the behaviour and searches duplicate member 
names in the PDS concatenation.

regards
Bruce Hewson                    

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