On Tue, Nov 18, 2008 at 4:53 PM, Don Leahy <[EMAIL PROTECTED]> wrote:
> Have you tried SRCHFOR? > > //SEARCH EXEC PGM=ISRSUPC, > // PARM=(SRCHCMP, > // 'ANYC') > //NEWDD DD DSN=DG53.LIBROPRD.EXPRTPDS, > // DISP=SHR > //OUTDD DD SYSOUT=(*) > //SYSIN DD * > SRCHFOR 'ABC',P > SRCHFORC 'XYX',S > /* > > This will return records where it finds a Prefix = ABC and a Suffix = > XYX. This may not be exactly what you want. > > > Don, thanks for that, it may well be enough. I'll give it a try. 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