Hello,
There's actually an option, -outfile=filename, but it seems limited to the
dsmadmc (and perhaps dsmc) command(s). With this option, output is
formatted as for a listing and redirected to a file, as if you would have
used the '>' redirection, but unlike using '>' no input is necessary to
scroll down pages. If you just specify -outfile, output is not redirected
to a file, but you still don't need any input, adsm shows the complete
result at once.
Anyway, this doesn't remove adsm headers and footers and you still need
filters to get a clean result. But as the output is only one logical page,
those filters may be limited to head and tail at most cases.
Hth,
A 11:20 16/06/1998 -0500, vous avez écrit :
>I recall hearing about a new c/l option--> -output=
>Whatever became of it? (Don't have v3 manuals to RTFM)
> Have you noticed the need to route /dev/null as input so that
> multi-page output will scroll to completion.
>
> and the only thing I've found is large "egrep" statements to get clean
> output
>
>I'm trying to write some automation scripts in perl and am somewhat amazed
>at how silly the redirection facilities are in dsmadmc.
>
>The only way I can see of generating clean output (ie not contaminated by
>copyright messages and other crap) is to use redirection in the command
>itself to a temporary file. This is *very* annoying as it makes my scripts
>a bit more complex than they need to be.
>
>Aside from using different "greps" to filter the output, has anyone managed
>to get clean output from dsmadmc in batch?
- * - * - * - * - * - * -
Mes idees n'engagent que moi (vieux proverbe du Net)
Thierry ITTY
eMail : Thierry.Itty AT Besancon DOT org FRANCE
|