ADSM-L

New Admin CLI option to display only the output data

2003-07-07 11:11:33
Subject: New Admin CLI option to display only the output data
From: Andrew Raibeck <storman AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 7 Jul 2003 09:10:51 -0600
A new 5.2 feature:

Launch the admin command line interface with the new -DATAOnly=Yes option
to suppress the display of TSM product version information and output
column headers (default is -DATAOnly=NO). This option does not require a
5.2 server.

Example:

C:\TSM\baclient>dsmadmc -tcps=ss2 -id=storman -pa=xxxxx query drive
IBM Tivoli Storage Manager
Command Line Administrative Interface - Version 5, Release 2, Level 0.1
(c) Copyright by IBM Corporation and other(s) 1990, 2003. All Rights
Reserved.

Session established with server SS2_ADSM_GROUP_SERVER: AIX-RS/6000
  Server Version 5, Release 2, Level 0.0
  Server date/time: 07/07/2003 08:00:35  Last access: 07/07/2003 07:38:52

ANS8000I Server command: 'query drive'

Library Name     Drive Name       Device Type     On-Line
------------     ------------     -----------     -------------------
3494LIB          RMT0             3590            Yes
3494LIB          RMT1             3590            Yes
HELP             RMT0             GENERICTAPE     No
HELP             RMT1             3590            No

ANS8002I Highest return code was 0.


C:\TSM\baclient>dsmadmc -tcps=ss2 -id=storman -pa=xxxxx -datao=y query
drive
3494LIB          RMT0             3590            Yes
3494LIB          RMT1             3590            Yes
HELP             RMT0             GENERICTAPE     No
HELP             RMT1             3590            No

C:\TSM\baclient>

Note that error messages will not be suppressed.

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.ibm DOT com

The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.