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 

Multiple dataset search facility

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


Joined: 28 Dec 2002
Posts: 21
Topics: 7

PostPosted: Mon Sep 29, 2003 6:56 pm    Post subject: Multiple dataset search facility Reply with quote

Hello,

I can search a field using 3.14 option. But if I want to search the field in multiple datasets, how do I do it? I am looking for the same 3.14 screen, but with multiple dataset names to search....What is the best way to accomplish this...

Regards
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Mon Sep 29, 2003 11:29 pm    Post subject: Reply with quote

Hi

Foreground
This is what I see when I use the HELP (PF1) in 3.15:
Code:
If you leave the SEARCH data set name field blank, a concatenation entry       
panel is displayed.  You can specify a list of concatenated data sets, an     
uncataloged or password protected data set, or a cataloged data set name.     
Up to four data sets may be concatenated for the search input.                 
                                                                               
              DS1 . . . 'PROJECT.GROUP.SRC'                                   
              DS2 . . . MYGROUP.SRC                                           
              DS3 . . .                                                       
              DS4 . . . 'PROJECT.MYGROUP.SRC.OLD'                             
                                                                               
Note: If two or more sequential data sets are concatenated as one input data   
set, the data set attributes (for example, BLKSIZE) must be identical.         
                                                                               
The alternate "other" fields for data set names, volume serial and password   
information are similar to the standard ISPF panel format.                     


Background
Here is an example from the manual:
Code:
         //         JOB
         //SEARCH   EXEC PGM=ISRSUPC,PARM=('SRCHCMP,ANYC')
         //STEPLIB  DD   DSN=ISPF330.LOAD,DISP=SHR
         //NEWDD    DD   DSN=USERID.PDS,DISP=SHR
         //         DD   DSN=USERID.PDS2,DISP=SHR
         //OUTDD    DD   SYSOUT=*
         //SYSIN    DD     *
         SRCHFOR 'NEEDLE',W,10:20
         /*
         //


O.
________
Harley-Davidson Vl


Last edited by ofer71 on Thu Mar 17, 2011 10:35 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
LaluMon
Beginner


Joined: 28 Dec 2002
Posts: 21
Topics: 7

PostPosted: Tue Sep 30, 2003 6:35 pm    Post subject: Reply with quote

I was thinking of more than 4 datasets and possibly by giving a wild character search of files...like
hlq1. hlq2.** etc..

Anyways, thanks though!

Regards
Back to top
View user's profile Send private message
naveen
Beginner


Joined: 03 Dec 2002
Posts: 90
Topics: 31

PostPosted: Tue Oct 07, 2003 2:03 am    Post subject: Reply with quote

1. Go to 3.4 in ISPF
2. In 'Dsname Level' write 'yurid.pds.*' i.e. hlq.slq.llq as per your requirement along with wildcard cahracter and enter
3. On the dslist command line type 'srchfor' and enter
4. A menu will open and allow you to write search string there and the same search string(s) will be searched in all the dataset listed in dslist screen.
Back to top
View user's profile Send private message Send e-mail
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Tue Oct 07, 2003 2:22 am    Post subject: Reply with quote

naveen

I think 'srchfor' is a home-grown utility.
The ISPF supplied DSLIST commands described here.

O.
________
strawberry cough


Last edited by ofer71 on Sat Feb 05, 2011 11:05 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Premkumar
Moderator


Joined: 28 Nov 2002
Posts: 77
Topics: 7
Location: Chennai, India

PostPosted: Tue Oct 07, 2003 3:45 am    Post subject: Reply with quote

SRCHFOR function in 3.4 option is available in z/OS 1.2 and later releases.
See here.
Back to top
View user's profile Send private message Send e-mail
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