>People here have suggested various ingenious combinations of >tail/awk/grep to strip out the garbage, and they work fairly well. >But that seems a little Rube Goldbergish, and I'm a little worried >that it might break if something in the output changes. I think I >already know the answer (No), but does anybody know of a way to keep >that stuff from appearing in the output, instead of finding it and >throwing it away afterwards?
You may want to consider using the ODBC approach and retrieve the information in a well defined format. I most cases you'll be able to extract the same information from the database via the ODBC interface as you can with the dsmadmc select command. You will, of course, have to use a platform where there is an ODBC driver for the TSM database available. Regards Peter