Re: supress the more prompt in dsmadmc

2003-10-15 Thread Simeon Johnston
 -Original Message-
 From: Bleicher, Thomas [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 09, 2003 11:51 AM
 To: [EMAIL PROTECTED]
 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


Re: supress the more prompt in dsmadmc

2003-10-10 Thread Jurjen Oskam
On Thu, Oct 09, 2003 at 06:51:21PM +0200, Bleicher, Thomas 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

You could try out ftp://cr.yp.to/ptyget-0.50.tar.gz. Unfortunately,
that package is a bit dated and needs updating to comfortably work on
modern unix variants.

--
Jurjen Oskam

PGP Key available at http://www.stupendous.org/


supress the more prompt in dsmadmc

2003-10-09 Thread Bernd Schemmer
How can I suppress  the more prompt

   more...   (ENTER to continue, 'C' to cancel)

in dsmadmc. What I want (if possible) is to interactive turn it off and
on as needed.
I did not find infos about this in the docs or in the FAQ

I'm using the version 5.2 of the TSM Client (and the TSM Server Version
5.1.6.2  if that matters)
Bernd

--

Bernd Schemmer, Stalburgstr. 14, 60318 Frankfurt, Germany
email: [EMAIL PROTECTED]
Phone/Fax: +49 - 69 /  95520301
mobil: +49 - 179 / 4647978


Re: supress the more prompt in dsmadmc

2003-10-09 Thread Prather, Wanda
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.

To run in batch, start from a DOS prompt:

dsmadmc -id=youradminid -password=youradminpwd  the command you want TSM to
execute

You can also add the parms:

 -commadelimitedoutput is commadelimited
 -dataonly  remove header lines, display data only (only
works at 5.2 client level)

-Original Message-
From: Bernd Schemmer [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 10:26 AM
To: [EMAIL PROTECTED]
Subject: supress the more prompt in dsmadmc


How can I suppress  the more prompt

more...   (ENTER to continue, 'C' to cancel)

in dsmadmc. What I want (if possible) is to interactive turn it off and
on as needed.

I did not find infos about this in the docs or in the FAQ

I'm using the version 5.2 of the TSM Client (and the TSM Server Version
5.1.6.2  if that matters)

Bernd


--


Bernd Schemmer, Stalburgstr. 14, 60318 Frankfurt, Germany
email: [EMAIL PROTECTED]
Phone/Fax: +49 - 69 /  95520301
mobil: +49 - 179 / 4647978


Re: supress the more prompt in dsmadmc

2003-10-09 Thread Bleicher, Thomas
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 ;)

Thomas
Netzlink Informationstechnik GmbH