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. On Tue, Nov 18, 2008 at 10:42 AM, Jim McAlpine <[EMAIL PROTECTED]> wrote: > Is there any way to achieve the above ie to search for 'abc*xyx' where * can > be any length in all members of a pds. > > 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