ldmwndletsm
ADSM.ORG Senior Member
- Joined
- Oct 30, 2019
- Messages
- 232
- Reaction score
- 5
- Points
- 0
Hi, I'm new to this forum, and this may have been discussed many times. I'm also new to TSM. Not sure which section to post this in? This pertains to IBM Spectrum Protect on Linux.
Is there a straightforward method to capture the output from a command run in dsmadmc (e.g. query volume), dsmc, etc?
For example, in the backup world that I come from, I can simply query the database, using the vendor's tool, directly from the Unix prompt, and redirect the output to the usual Unix filtering tools, e.g. sed, awk, grep, sort, etc., thus making it trivial to parse the output. However, I'm unclear on how to do this in the TSM world given that commands are run in these shell style interfaces like dmsc. Maybe it's patently obvious, but I have too much output to sort through manually, and I'd also like to be able to compare output from different runs and/or different volumes, backups, etc.
Thanks
Is there a straightforward method to capture the output from a command run in dsmadmc (e.g. query volume), dsmc, etc?
For example, in the backup world that I come from, I can simply query the database, using the vendor's tool, directly from the Unix prompt, and redirect the output to the usual Unix filtering tools, e.g. sed, awk, grep, sort, etc., thus making it trivial to parse the output. However, I'm unclear on how to do this in the TSM world given that commands are run in these shell style interfaces like dmsc. Maybe it's patently obvious, but I have too much output to sort through manually, and I'd also like to be able to compare output from different runs and/or different volumes, backups, etc.
Thanks