MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search Utility 3.15

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Fri Jul 07, 2006 9:24 am    Post subject: Search Utility 3.15 Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Jul 07, 2006 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Fri Jul 07, 2006 12:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Jul 07, 2006 5:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Wed Jul 12, 2006 4:40 pm    Post subject: Reply with quote

Thanks Kolusu & semigeezer

Its working now.
_________________
Thanks,
Vinod.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group