An IDCAMS batch job (not TSO) with the command
LISTCAT USERCATALOG
will give you the name of all the catalogs connected to your master catalog.
You can then issue multiple commands (also in batch)
LISTCAT ALL CATALOG(dsn)
to list all the datasets, aliases, etc that are in each. (The ALL determines
how much data is listed for each entry, not which entries are listed. If all
you want is the name, you can omit it.)
You should not need to do anything special with aliases.
If you have catalogs not connected to the master catalog, you will have to find
them some other way. I don't think you can list one until it is connected.
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Dr. Stephen Fedtke
Sent: Tuesday, November 30, 2010 11:02 PM
To: [email protected]
Subject: best method to completely list all cataloged data sets
hi all,
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.
is there actually the need to determine all catalogs/aliases, and perform
(recursiveley) list on them, ...
----------------------------------------------------------------------
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