Last active
January 9, 2018 04:01
-
-
Save mainframed/cca304ac60fad52106c3ad7ebd82c903 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This little script will list a lot of datasets and their members | |
# You need to install tsocmd from ibm (but most people have already) | |
# | |
# By SoF | |
echo " CATList by SoF" | |
echo "" | |
echo " [+] Getting Catalog" | |
sleep 5 | |
/bin/tsocmd listcat > /tmp/cat | |
echo " [+] Listing members in all datasets" | |
sleep 4 | |
for i in `cat /tmp/cat`; do echo $i; /bin/tsocmd listds "'$i'" members;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment