ADSM-L

Re: Redirect Output in Windows dsmadmc

2002-07-26 14:53:26
Subject: Re: Redirect Output in Windows dsmadmc
From: Andy Raibeck <storman AT US.IBM DOT COM>
Date: Fri, 26 Jul 2002 14:51:40 -0400
You and John Monahan both came up with that same nifty little tip... :-)

Thanks!

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.eyebm DOT com (change eye to i to reply)

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




"Ilja G. Coolen" <ilja.coolen AT ABP DOT NL>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
07/25/2002 06:56
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        Re: Redirect Output in Windows dsmadmc



You can escape redirect chars in dos/windows too.
To make windows/dos handle <> as text escape is using ^.


Try this one :
        dsmadmc -id=youradmin -pa=yourpassw select * from nodes where
max_mp_allowed^>1


Check the ANS8000I message in the following response:

Tivoli Storage Manager
Command Line Administrative Interface - Version 5, Release 1, Level 1.0
(C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.

Session established with server ABPTSM1: AIX-RS/6000
  Server Version 4, Release 2, Level 1.9
  Server date/time: 07/25/2002 15:50:37  Last access: 07/25/2002 15:44:00

ANS8000I Server command: 'select * from nodes where max_mp_allowed>1'
ANR2034E SELECT: No match found using this criteria.
ANS8001I Return code 11.

ANS8002I Highest return code was 11.
<<<---------- END CLIPPING

Hope this works for u 2.


Ilja G. Coolen


ABP / USZO
CIS / BS / TB / Storage Management

Telefoon : +31(0)45  579 7938
Fax      : +31(0)45  579 3990
Email    : ilja.coolen AT abp DOT nl
Mailbox  : Centrale Mailbox - BS Storage (eumbx05)
Intranet : Storage Web
<http://intranet/cis_bstb/html_content/sm/index_sm.htm>



Everybody has a photographic memory, some just don't have film. -

<Prev in Thread] Current Thread [Next in Thread>