Follow on ...
cut and paste from the wrong page...
anyway the concept is the same...
ISRSUPC will search the content... not the directory
to be sure I spent about 20 seconds testing it,and it does behave as I told
here is a snippet of the directory
DSLIST ENRICO.SORT.JCL Row 00001 of 00037
Command ===> Scroll ===> CSR
Name Prompt Size Created Changed ID
_________ ESDS 20 2011/07/14 2011/07/14 10:34:26 ENRICO
_________ GENR01 73 2011/05/09 2011/05/09 22:36:26 ENRICO
_________ GENR02 9 2011/05/09 2011/05/09 22:43:11 ENRICO
_________ ITOOL01 23 2010/12/02 2011/05/20 13:43:55 ENRICO
_________ ITOOL02 23 2011/06/15 2011/06/15 10:10:21 ENRICO
_________ ITOOL03 18 2011/09/07 2011/09/07 18:29:31 ENRICO
_________ SORT00 11 2011/05/12 2011/05/12 19:02:17 ENRICO
_________ SORT01 39 2010/12/07 2010/12/07 08:51:07 IBMUSER
_________ SORT02 54 2011/03/03 2011/03/03 12:42:49 IBMUSER
_________ SORT03 57 2011/05/12 2011/05/12 16:26:02 ENRICO
_________ SORT04 28 2011/05/16 2011/05/16 09:13:44 ENRICO
_________ SORT05 26 2011/05/19 2011/05/19 09:36:10 ENRICO
here is the job
****** ***************************** Top of Data ******************************
000001 //ENRICO4 JOB MSGCLASS=X
000002 //SEARCH EXEC PGM=ISRSUPC, *
000003 // PARM=(SRCHCMP,
000004 // 'ANYC')
000005 //NEWDD DD DSN=ENRICO.SORT.JCL,
000006 // DISP=SHR
000007 //OUTDD DD SYSOUT=*
000008 //SYSIN DD *
000009 SRCHFOR 'SORT00'
****** **************************** Bottom of Data ****************************
here is the output
********************************* TOP OF DATA **********************************
J E S 2 J O B L O G -- S Y S T E M S Y S 1 -- N
07.34.50 JOB04091 ---- SATURDAY, 10 SEP 2011 ----
07.34.50 JOB04091 IRR010I USERID ENRICO IS ASSIGNED TO THIS JOB.
07.34.50 JOB04091 ICH70001I ENRICO LAST ACCESS AT 07:33:48 ON SATURDAY, SEPTE
07.34.50 JOB04091 $HASP373 ENRICO4 STARTED - INIT 1 - CLASS A - SYS SYS1
07.34.50 JOB04091 IEF403I ENRICO4 - STARTED - TIME=07.34.50
07.34.50 JOB04091 IEF404I ENRICO4 - ENDED - TIME=07.34.50
07.34.50 JOB04091 $HASP395 ENRICO4 ENDED
------ JES2 JOB STATISTICS ------
10 SEP 2011 JOB EXECUTION DATE
9 CARDS READ
49 SYSOUT PRINT RECORDS
0 SYSOUT PUNCH RECORDS
2 SYSOUT SPOOL KBYTES
0.00 MINUTES EXECUTION TIME
1 //ENRICO4 JOB MSGCLASS=X
2 //SEARCH EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// 'ANYC')
3 //NEWDD DD DSN=ENRICO.SORT.JCL,
// DISP=SHR
4 //OUTDD DD SYSOUT=*
5 //SYSIN DD *
ICH70001I ENRICO LAST ACCESS AT 07:33:48 ON SATURDAY, SEPTEMBER 10, 2011
IEF236I ALLOC. FOR ENRICO4 SEARCH
IEF237I 0AB3 ALLOCATED TO NEWDD
IEF237I JES2 ALLOCATED TO OUTDD
IEF237I JES2 ALLOCATED TO SYSIN
IEF142I ENRICO4 SEARCH - STEP WAS EXECUTED - COND CODE 0000
IEF285I ENRICO.SORT.JCL KEPT
IEF285I VOL SER NOS= STOR03.
IEF285I ENRICO.ENRICO4.JOB04091.D0000102.? SYSOUT
IEF285I ENRICO.ENRICO4.JOB04091.D0000101.? SYSIN
IEF373I STEP/SEARCH /START 2011253.0734
IEF374I STEP/SEARCH /STOP 2011253.0734 CPU 0MIN 00.11SEC SRB 0MIN 00.01S
IEF375I JOB/ENRICO4 /START 2011253.0734
IEF376I JOB/ENRICO4 /STOP 2011253.0734 CPU 0MIN 00.11SEC SRB 0MIN 00.01S
ISRSUPC - MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF FOR z/OS
SEARCH-FOR SUMMARY SECTION SRCH DSN: ENRICO.SORT.JCL
LINES-FOUND LINES-PROC MEMBERS-W/LNS MEMBERS-WO/LNS COMPARE-COLS LONGEST-LI
0 1132 0 37 1:80 80
PROCESS OPTIONS USED: ANYC
THE FOLLOWING PROCESS STATEMENTS (USING COLUMNS 1:72) WERE PROCESSED:
SRCHFOR 'SORT00'
******************************** BOTTOM OF DATA ********************************