Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ISRSUPC SRCHFOR for Searching thru GDG generations

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
thekumar101

New User


Joined: 22 Aug 2012
Posts: 4
Location: India

PostPosted: Fri Oct 19, 2012 3:35 pm    Post subject: ISRSUPC SRCHFOR for Searching thru GDG generations
Reply with quote

Code:
     
//SEARCH  EXEC PGM=ISRSUPC,                                   
//            PARM=(SRCHCMP,ANYC)                                     
//NEWDD  DD DSN=USERID.GDG.BASE,                                       
//          DISP=SHR                                           
//OUTDD  DD SYSOUT=(A)                                         
//SYSIN  DD *                                                 
SRCHFOR  'SEARCH_STRING'                                       
/*                         


For above snippet, the output comprises of all the records matching the SEARCH_STRING in all the generations together.
Is it possible to get the output with the GDG's generation names in which the SEARCH_STRING is found?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Oct 19, 2012 7:36 pm    Post subject: Reply to: ISRSUPC SRCHFOR for Searching thru GDG generations
Reply with quote

No.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Oct 19, 2012 8:01 pm    Post subject:
Reply with quote

instead of using the base name - which is effectively only one newdd,
you need to list them all in a concatenation.
the output will list the string found and the file number (1),
which you will then have to relate to the listing provided of
file name and file number.

and instead of asking "what do i mean?",
take two or three file names
hlq.mlq.llq.gnn1vnn
hlq.mlq.llq.gnn2vnn
hlq.mlq.llq.gnn3vnn

and execute the search and look at the output
or refer to the manual for explanation of the output.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Oct 19, 2012 8:17 pm    Post subject:
Reply with quote

you will need to use the IDPFX search of a group
Back to top
View user's profile Send private message
Dale Robertson

New User


Joined: 21 Jun 2013
Posts: 44
Location: U.S.A.

PostPosted: Tue Jun 25, 2013 11:02 pm    Post subject: Problem with ISRSUPC
Reply with quote

There seems to be one minor problem with ISRSUPC that you might wish to consider if you concatenate files. Once super c finds a string in a member of a pds and finds it in the same member name of a different library it doesn't seem to let you know that it found it more than once.

At least that's been my experience.

r

"That defeats the whole purpose of the Doomsday Machine!! Why didn't you tell anyone?"
--Dr. Strangelove.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Jun 26, 2013 3:50 am    Post subject:
Reply with quote

Hi,

search on SDUPM and you will not have the same experience again. icon_smile.gif



Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare each GDG Generations to other... Ayyappa1 JCL & VSAM 13 Tue Jun 28, 2016 1:48 pm
No new posts ISRSUPC SRCHFOR tool - Query while us... soundarr JCL & VSAM 7 Wed Mar 16, 2016 8:55 pm
This topic is locked: you cannot edit posts or make replies. MEMOAPIX - Searching for a Reference ... Steve Coalbran All Other Mainframe Topics 13 Wed Feb 03, 2016 12:01 pm
No new posts Editing "member generations"... Ricardo Viegas TSO/ISPF 1 Tue Dec 29, 2015 7:27 pm
No new posts Passing parms when calling ISRSUPC(su... jasorn COBOL Programming 3 Mon Nov 16, 2015 12:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us