It sounds like you just want to scan a PDS. 
You can do that with a program that is part of ISPF.

//SCAN1     EXEC PGM=ISRSUPC,PARM='L SRCHCMP CKPACKL ANYC'
//OUTDD     DD SYSOUT=*                                   
//NEWDD     DD DISP=SHR,DSN=SOME.SOURCE.PDS         
 SRCHFOR 'RANGE'                                          
 SRCHFOR 'STRING3'                                        
 SRCHFOR 'SOMETHING ELSE'

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to