Re: supress the "more" prompt in dsmadmc
2003-10-15 12:45:27
> -----Original Message-----
> From: Bleicher, Thomas [mailto:bleicher AT NETZLINK DOT COM]
> Sent: Thursday, October 09, 2003 11:51 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: supress the "more" prompt in dsmadmc
>
>
> Prather, Wanda wrote:
>
> > dsmadmc has two modes, "interactive" and "batch".
> >
> > You are running interactive, you will get the more prompt.
> >
> > If you run it in batch, you will not get the more prompt.
>
> I still geht the prompt, even when I execute commands in
> batch mode. But redirecting the output to a file or a pipe
> works. On Unix systems the following should do the trick:
>
> dsmadmc -id=me -password=mine q actlog | cat
>
> There is a pipe on MS-DOS as well (at least on my XP system).
> I just don't know the DOS equivalent for "cat" and a pipe
> to "more" is somewhat pointless ;)
"type" is the DOS equivalent, and you should be able to pipe on a DOS
system all the way back to actual DOS 6.x. Not positive about that, but
it works in 2k.
Redirects also work ( > and >> ) to a file.
sim
|
|
|