ADSM-L

Re: Redirected Output Format

1999-10-07 14:33:45
Subject: Re: Redirected Output Format
From: Adam Slesinger <aslesinger AT US.BNSMC DOT COM>
Date: Thu, 7 Oct 1999 14:33:45 -0400
Thanks to all who responded to help us with this snag.  As suggested by Rejean,
adding the option "-display=list" formatted the output back to the way our 
scripts
were used to seeing it.

Take care,
adam
__________________
Adam Slesinger
Corporate Information Systems
Brown & Sharpe, RI
Phone: (401) 886-2236
Pager: (800) 913-5395
Email: aslesinger AT us.bnsmc DOT com



Rejean Larivee wrote:

> Hello,
> you should use the "-display=[list,tab]" option with the
> admin command line. This new parameter introduced at
> the 3.1.0.6 level specifies how to output the result. LIST will
> give the results as you want (top to bottom) and TAB will
> give the results in a tabular format (left to right).
> Your command would look like :
>
> dsmadmc -id=... -pa=... -display=list q vol stg=tapecopypool access=readw f=d
>
> Try this, it should work.
> Have a great day !
>
> -----------------------------------------------------------------
> Rejean Larivee
> ADSM Level 2 Support
>
> ---------------------- Forwarded by Rejean Larivee/Quebec/IBM on 10/07/99 
> 02:21
> PM ---------------------------
>
> Adam Slesinger <aslesinger AT US.BNSMC DOT COM> on 10/07/99 12:33:55 PM
>
> Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
>
> To:   ADSM-L AT VM.MARIST DOT EDU
> cc:
> Subject:  Re: Redirected Output Format
>
> Heinz,
>
> Thanks for the suggestion. Unfortuneately, the format is still screwy (one 
> long,
> wrapped line) even after adding the "outfile" parameter. Command I used:
>
> dsmadmc -id=admin -pass=pwd -outfile q vol access=readw stg=tapecopypool f=d >
> /tmp/test.txt
>
> Any other things I can try?
> Thanks again,
>
> adam
>
> Heinz Flemming wrote:
>
> > According to Adam Slesinger:
> > > Hello all,
> > >
> > >                   Typing "q vol stg=tapecopypool access=readw f=d" at
> > > the admin command line generates the following output:
> > >
> >
> >   Add the option  -outfile:
> >
> >   dsmadmc -se=my_server -id=... -passowrd=... -outfile q vol ... 
> > >/tmp/blabla
> >
> > -----------------------------------------------------------------------
> > Heinz Flemming                             flemming AT rz.uni-karlsruhe DOT 
> > de
> > Rechenzentrum, Universitaet Karlsruhe
> > Zirkel 2, Postfach 6980
> > D-76128 Karlsruhe
> > Deutschland
> >
> > Telefon: 0721 - 608 6427                              Fax: 0721 - 37550
> > -----------------------------------------------------------------------
>
> --
> __________________
> Adam Slesinger
> Corporate Information Systems
> Brown & Sharpe, RI
> Phone: (401) 886-2236
> Pager: (800) 913-5395
> Email: aslesinger AT us.bnsmc DOT com
<Prev in Thread] Current Thread [Next in Thread>