View previous topic :: View next topic |
Author |
Message |
Vinodch Beginner
Joined: 23 Dec 2002 Posts: 80 Topics: 32 Location: Chennai, India
|
Posted: Fri Jul 07, 2006 9:24 am Post subject: Search Utility 3.15 |
|
|
Hi
I have a query regarding search utility (3.15):
Searching for a string say "ABC" in a job A1 - present in two library PDS1 & PDS2 -
Job A1 present in the library PDS1 didn't have the string "ABC"
Job A1 present in the library PDS2 have the string "ABC".
During searching
If I give the order of concatenated datasets in the following manner:
I)
PDS1,DISP=SHR - O/P - No jobs listed which has the string "ABC".
PDS2,DISP=SHR
II)
PDS2,DISP=SHR - O/P - Job A1 listed which has the string "ABC".
PDS1,DISP=SHR
Please let me know what cause the mismatch. _________________ Thanks,
Vinod. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Jul 07, 2006 9:44 am Post subject: |
|
|
Vinodch,
Post the JCL you used to search . Ideally your JCL should be like this
Code: |
//STEP0100 EXEC PGM=ISRSUPC,PARM=(SRCHCMP,IDPFX)
//NEWDD DD DSN=PDS1,
// DISP=SHR
// DD DSN=PDS2,
// DISP=SHR
//OUTDD DD SYSOUT=*
//SYSIN DD *
SRCHFOR 'search string'
/*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Vinodch Beginner
Joined: 23 Dec 2002 Posts: 80 Topics: 32 Location: Chennai, India
|
Posted: Fri Jul 07, 2006 12:27 pm Post subject: |
|
|
Hi Kolusu
Attached the details requested:
Job not working fine !
Code: |
//SEARCH EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// '')
//NEWDD DD DSN=XXXXX.XXXX.STRTLIB,
// DISP=SHR
// DD DSN=XXXXXX.XXXX.XXXX.JCLLIB,
// DISP=SHR
//OUTDD DD SYSOUT=(*)
//SYSIN DD *
SRCHFOR 'XXXXXXXR'
SRCHFOR 'XXXXXXXRP'
/*
|
Job that works fine !
Code: |
//SEARCH EXEC PGM=ISRSUPC, *
// PARM=(SRCHCMP,
// '')
//NEWDD DD DSN=XXXXXX.XXXX.XXXX.JCLLIB,
// DISP=SHR
// DD DSN=XXXXX.XXXX.STRTLIB,
// DISP=SHR
//OUTDD DD SYSOUT=(*)
//SYSIN DD *
SRCHFOR 'XXXXXXXR'
SRCHFOR 'XXXXXXXRP'
/*
|
_________________ Thanks,
Vinod. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Jul 07, 2006 5:21 pm Post subject: |
|
|
You probably have the members in the 2 PDSes with the same name and SuperC is only searching the 1st one. Use the SDUPM option to search all copies. |
|
Back to top |
|
 |
Vinodch Beginner
Joined: 23 Dec 2002 Posts: 80 Topics: 32 Location: Chennai, India
|
Posted: Wed Jul 12, 2006 4:40 pm Post subject: |
|
|
Thanks Kolusu & semigeezer
Its working now. _________________ Thanks,
Vinod. |
|
Back to top |
|
 |
|
|