Did you try the following:
Create a bat script for example c:\scripts\presched.bat specifying the following
command:

d:\domino\ncompact.exe -B 10 >> c:\progra~1\tivoli\tsm\domino\compact.log

and executing the c:\scripts\presched.bat as prescheduled command.

Michel







Lisa Cabanas <[EMAIL PROTECTED]> on 03/05/2001 09:48:08 PM

Please respond to "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Michel Engels/BE/Devoteam)

Subject:  capture output from prescheduled command



I am trying to figure out how to capture the output of an ncompact.exe -B
command (a Domino server command that reassigns new DBIIDs to the compacted
databases) that is run as a prescheduled command in a special dsm_sel.opt.  The
scheduler picks up the schedule, and the selective TDP backup occurs, (and says
it is using the c:\progra~1\tivoli\tsm\domino\dsm_sel.opt)  but I can not tell
whether the compact was successful.

I have tried putting the statement in the dsm_sel.opt file

preschedcommand d:\domino\ncompact.exe -B 10 >>
c:\progra~1\tivoli\tsm\domino\compact.log
with all sorts of variations of where the quotes are-- no out put.


I have also tried putting these commands into another command file that is
called by the prescheduled command, and no go on it, either.


Has anyone done this?

thanks!!
lisa

Reply via email to