On Wed, 29 Jul 2015 11:26:58 -0700, retired mainframer wrote:
>
>LISTCAT ENT(dsn) ALL.
>
>If dsn is not VSAM, the RELATED field in the output will show all aliases, if 
>any.  If dsn is VSAM, the PATH field will show any aliases.  If dsn is a path 
>or alias, the RELATED field will show the true name of the target
> 
Seems to work.  Thanks.

BTW, is there any good reason that an alias for a non-VSAM data set is
called an ALIAS while an alias for a VSAM data set is called a PATH?
(Might some object have both, in which case the distinction is meaningful?)

Is there any way to prevent deletion of a data set while an ALIAS (or
PATH) exists?  Extra credit if your solution precludes timing windows.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to