I would add that this command should be done against your MASTER catalog
to get all aliases...  This should show you all aliases along with their
associated user catalogs.  Depending on your system this can be a
lengthy output. 

If you remove the ALL parm you will get a list of all aliases only,
which might be better as a start.   

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Schwarz, Barry A
Sent: Wednesday, July 14, 2010 2:33 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Dataset Aliases - How to find ALL of them

In an IDCAMS batch job, not TSO, issue the command
    LISTCAT CAT(dsn) ALIAS ALL

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Roy Reynolds
Sent: Wednesday, July 14, 2010 10:54 AM
To: IBM-MAIN@bama.ua.edu
Subject: Dataset Aliases - How to find ALL of them

Such a basic question I can hardly believe I'm asking it.

Is there a way to list all the dataset aliases and their target
datasets?
Such an option would be useful.
I guess I could just go through listing all datasets and checking for an
alias association but that seems like a nasty bit of work.

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

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

Reply via email to