View previous topic :: View next topic
|
Author |
Message |
ashimer
Active Member
Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
|
|
|
|
I need to search for a string in different generations of a GDG and if the string is found in any generation I need those generations listed in my search output. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Just to be clear, if you have a thousand generations, and if the string is found in 999 of them, you want to report on all of the 999 generations where the string was found? Or, only the most recent? The oldest? |
|
Back to top |
|
|
ashimer
Active Member
Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
|
|
|
|
all the generations ....
thanks |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
ashimer
Active Member
Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
|
|
|
|
But Kevin i need to print the GDG versions in which the string was found |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Did you read all of the first link Kevin posted?
I believe the jcl you need to do what you want is in the last reply of that topic. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I don't see that there's any options other than a loop, searching each generation individually, indicating a YES/NO on the match, and then printing out only the generations where a YES is indicated. |
|
Back to top |
|
|
|