Run it thru awk (or your favorite tool) and drop all the blank lines
before sending it on to your script.
>>> Steve Harris 3/9/2011 5:17 PM >>>
Hi All
I've inherited a Rube Goldberg reporting system where TSM queries are
run against systems, and the results from all the TSM instances, then
run t
Thanks Andy and Marcel..
I was hoping for a quick fix. As I said the rexx script is ugly and I'm
afraid that any attempt to modify it will break it. Looks like I'll
have to write a shim to correct the format, but I might take the
opportunity to use -commad on the 6.2 instances.
Regards
Steve.
Hi Steve,
Off-hand I'm not sure what changed in the output formatting, but have you
looked into use the "-tabdelimited" and "-dataonly=yes" options on the
dsmadmc command line? This should overall make parsing much easier than
trying to handle the default formatting. For example:
dsmadmc -id=a
Hi Steve,
How about the client options -dataonly=yes and -commadelimited or
-tabdelimited ?
You lose the headers and the formatting and get only the data you need.
See also:
http://www-01.ibm.com/support/docview.wss?uid=swg21143748
http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2/index.js