IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Search a string in all GDG version for a base.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
akatekar

New User


Joined: 17 Oct 2006
Posts: 7
Location: India

PostPosted: Wed May 23, 2007 7:32 pm
Reply with quote

Hello,
I want to search a string in all GDG versions of a base. The output should return the GDG version which contains the match of the string. Is there any Utility which could help me out other than File-Aid (since we dont have File-Aid).

Thanks,
Amit.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 23, 2007 7:38 pm
Reply with quote

This is obviously a HOMEWORK question, which has been posted on this forum before.

There is a search facility on this board, try entering GDG SEARCH as the keywords, and then get the answer.
Back to top
View user's profile Send private message
akatekar

New User


Joined: 17 Oct 2006
Posts: 7
Location: India

PostPosted: Wed May 23, 2007 7:43 pm
Reply with quote

Hello,
I have already tried the homework, none of the replies give me the desired result.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 23, 2007 7:55 pm
Reply with quote

But do they not point you in the right direction ?
Back to top
View user's profile Send private message
akatekar

New User


Joined: 17 Oct 2006
Posts: 7
Location: India

PostPosted: Wed May 23, 2007 8:05 pm
Reply with quote

If you can point me to the right direction, it would be great. I still seem to be lost. Thanks for your help in advance.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 23, 2007 8:16 pm
Reply with quote

I would write a quick REXX to list the GDG entries, and then pass them, within the same REXX, through the IBM search utility and if the RC=1 then list the GDG generation.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top