On Wed, 1 Dec 2010 03:33:24 -0600, Elardus Engelbrecht
<[email protected]> wrote:

>Dr. Stephen Fedtke wrote:
>>what is the best method to achieve a complete list of all currently
>cataloged data sets? really "all". actually, like using  "**" in the 3.4
data set
>criterion.
>
>Use Catalog Search Interface with Assembler or REXX.
>
>It is faster than =3.4 or IDCAMS LISTC and perhaps ISMF too.
>


3.4 doesn't allow * or **.

No options with IDCAMS to list everything from all catalogs.

The CSI is a good option, but since if you tell it to list all catalogs you
could
end up with a bunch of "dead" catalog entries.  For example, a user catalog
that was previously a master from another system, or an alias for an HLQ
points to the "correct catalog" but maybe pointed to a different catalog at
one time and the entries weren't deleted or merged out.  No one would
ever know about those entries to clean them up unless they looked for them.
(you can do this with CATSRCH from my web site: TSO %CATSRCH **


If you did it with CSI and wrote intelligent code around it, then it would
be more accurate.  For example, list the master catalog and the aliases,
then only list the HLQs in the catalogs that the aliases in the master catalog
pointed to.

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS       
mailto:[email protected]                                          
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to