ADSM-L

Re: Suppress header and footer lines of select statements

2003-09-23 12:36:54
Subject: Re: Suppress header and footer lines of select statements
From: "Stephen E. Bacher" <seb AT DRAPER DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 23 Sep 2003 12:36:27 -0400
Bernd Schemmer <Bernd.Schemmer AT gmx DOT de> wrote:

>I'm writing some scripts using dsmadmc with the select command to
>retrieve data from the TSM database. At this time I've to use various
>grep commands to remove the headers and footers from the dsmadmc output.
>
>Is it possible to suppress those headers & footers and get only the data
>returned by the select command?

You can append

   > name-of-output-file

to any command invoked under dsmadmc, to direct the output
to a separate output file.  I use it for the same kind of
purpose that you speak of, and it works just fine.

Steve Bacher
Draper Laboratory
Cambridge, MA, US
seb AT draper DOT com

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