Other than editing the output with shell commands ( grep, cut, head,
tail, etc... ) does anyone have a recommendation for getting output from TSM
without "administrative" information about the server also being returned?
I thought I had once seen an dsmadmc option to restrict the output of this
information but cannot identify it now.
EXAMPLE: "I am trying to loose everything except the answer to the query"
# dsmadmc -id=$ -pass=$ "select DOMAIN_NAME,SCHEDULE_NAME from
client_schedules where DAYOFWEEK = 'TUESDAY'"
Tivoli Storage Manager
Command Line Administrative Interface - Version 3, Release 7, Level 2.15
(C) Copyright IBM Corporation, 1990, 1999, All Rights Reserved.
Session established with server
Server Version 3, Release 7, Level 2.0
Server date/time: 08/20/01 13:38:36 Last access: 08/20/01 13:38:08
ANS8000I Server command: 'select DOMAIN_NAME,SCHEDULE_NAME from
client_schedules where DAYOFWEEK ='TUESDAY''
DOMAIN_NAME SCHEDULE_NAME
------------------ ------------------
AIX COMC-FULLHOT
AIX COMC-FULLHOT
AIX TUESDAY
STANDARD TUESDAY
ANS8002I Highest return code was 0.
Thank You,
Jon Martin
|