Page 1 of 1

Search for a Dataset.

PostPosted: Sun Oct 07, 2012 3:49 am
by abyvarghes
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,

Re: Search for a Dataset.

PostPosted: Sun Oct 07, 2012 4:06 am
by BillyBoyo
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"?

Re: Search for a Dataset.

PostPosted: Sun Oct 07, 2012 4:34 am
by abyvarghes
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,

Re: Search for a Dataset.

PostPosted: Sun Oct 07, 2012 11:46 am
by BillyBoyo
Why are you searching for a particular dataset name? What is it? JCL? Exec/Macro? Program code? What?

Re: Search for a Dataset.

PostPosted: Sun Oct 07, 2012 2:56 pm
by enrico-sorichetti
.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

Re: Search for a Dataset.

PostPosted: Mon Oct 08, 2012 8:16 am
by dick scherrer
Hello,

If you explain how this "requirement" originated, someone might have a suggestion.

Re: Search for a Dataset.

PostPosted: Mon Oct 08, 2012 8:29 am
by steve-myers
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.

Re: Search for a Dataset.

PostPosted: Mon Oct 08, 2012 8:43 am
by dick scherrer
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>).