Description:
Need to scan a master file to find a character string in all the members.
Solution:
Using the JCL below:
//LIB2 EXEC PGM=AFOLIBR,PARM='DEPTH=25' //MASTER DD DSN=your.master.file,DISP=SHR //OSJOB DD DUMMY //LIST DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSIN DD * -OPT UTILITY -SCAN *search string* -END /*