Search for a Dataset.



Ask about System customization & performance, Workload management, I/O device configuration etc.

Search for a Dataset.

Postby abyvarghes » Sun Oct 07, 2012 3:49 am

Hi All,

Is there any easy way I can find out the existence of a Dataset name in all other datasets / dataset mebers in the system.Isted of going and searching in each and every DS one by one.

Eg: My Dataset name : ABCD.EF.XY. And I need to know the DSName / Members Names which is referring my DS ABCD.EF.XY.

Thanks,
abyvarghes
 
Posts: 13
Joined: Wed Apr 01, 2009 11:52 am
Has thanked: 0 time
Been thanked: 0 time

Re: Search for a Dataset.

Postby BillyBoyo » Sun Oct 07, 2012 4:06 am

Surely there will be a limited number of places where a specific datasetname appears in a particular PS/PDS/PDSE? What is the point of searching "all other datasets"?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Search for a Dataset.

Postby abyvarghes » Sun Oct 07, 2012 4:34 am

BillyBoyo wrote:Surely there will be a limited number of places where a specific datasetname appears in a particular PS/PDS/PDSE? What is the point of searching "all other datasets"?


Thanks for the reply BillyBoyo.
Yes,Surely there will be a limited number of places where a specific datasetname appears. But I don't know where all its been presented or appeared.So I need to search all and find out.
Thanks,
abyvarghes
 
Posts: 13
Joined: Wed Apr 01, 2009 11:52 am
Has thanked: 0 time
Been thanked: 0 time

Re: Search for a Dataset.

Postby BillyBoyo » Sun Oct 07, 2012 11:46 am

Why are you searching for a particular dataset name? What is it? JCL? Exec/Macro? Program code? What?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Search for a Dataset.

Postby enrico-sorichetti » Sun Oct 07, 2012 2:56 pm

.Isted of going and searching in each and every DS one by one.


if You have no idea where the <string> You look for can be found
the only way is to scan all the <eligible/probable> ones amen
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: Search for a Dataset.

Postby dick scherrer » Mon Oct 08, 2012 8:16 am

Hello,

If you explain how this "requirement" originated, someone might have a suggestion.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Search for a Dataset.

Postby steve-myers » Mon Oct 08, 2012 8:29 am

Many years ago I thought about this very idea for a project, After some thought I concluded the idea was impossible, for several reasons,
  1. There are too many data sets to search.
  2. In JCL, there are too many ways to express a data set name. I'd have to write a very flexible JCL analyzer.
  3. In non JCL data, I'd have to deduce a data set name from the data. Another difficult to write analyzer. If the data was compressed or encrypted, ...
  4. Does the analyzer recall migrated data??? Probably not a good idea.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Search for a Dataset.

Postby dick scherrer » Mon Oct 08, 2012 8:43 am

Hi Steve,

Yup, which is why if the requirement is considerably more modest than you mention, we might be able to suggest something.

Knowing how this is to be used in this case would be useful (at least to me<g>).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to System programming

 


  • Related topics
    Replies
    Views
    Last post