catsearch, list of aliases?
Posted: Mon Aug 27, 2012 12:56 pm
I could really use some way, perhaps using catsearch, to list ALIAS entries in a given catalog. or for a given catalog. I am not sure, but this information may be in the ASSOCSYM field for a catlog entry.
What I want to do is list all of the datasets for TSO users. I envision this doing something like, assuming the returned information is ALIAS CATALOG.NAME:
What I want to do is list all of the datasets for TSO users. I envision this doing something like, assuming the returned information is ALIAS CATALOG.NAME:
Code: Select all
catsearch -t -???? master.catalog |\
awk '$1 ~ /^TSO[[:digit:]]{4}$/ {print $1;}' |\
while read i;do catsearch -l "$i.**" ; done