Geoff,
I had the same pb, under AIX (TSM 3.7)
do NOT put a space after your '>' if your command if defined
in an admin schedule
Here is one of my schedules
DEF SCH NT NT_DMZ_INCR_DAILY -
DESC="Incremental backup for NT server behind FW" ACT=C -
OBJ="C:\TSM\SCRIPTS\save_nt.cmd >C:\TSM\LOG\save_nt.log" -
PRI=5 STARTT=20:00 DUR=10 DURU=M PER=1 PERU=D DAY=ANY EXP=N
rv
> -----Message d'origine-----
> De : Gill, Geoffrey L. [mailto:[EMAIL PROTECTED]]
> Envoyé : vendredi 20 avril 2001 18:02
> À : [EMAIL PROTECTED]
> Objet : redirect output(Update)
>
>
> Here is the problem(UPDATE), maybe I wasn't clear enough. Yes
> I can run a
> query or whatever and have the output redirected to a file if
> I run it from
> a command prompt. I am having problems trying to run it from
> a TSM server
> command script with the administrative command scheduler
> kicking it off.
>
> The TSM server command "Tape_Checkout":
> query drmedia * wherestate=mo source=dbsnapshot > /tmp/checkout.txt
> move drmedia * wherestate=mo remove=yes tostate=courier
> source=dbsnapshot
>
> The first part of the script fails for the redirection output
> to a file, the
> second part works. I would like to run this through the TSM
> Scheduler for
> simplicity but maybe it is not possible to create an output
> file this way.
>
> Thanks again,
>
> Geoff Gill
> TSM Administrator
> NT Systems Support Engineer
> SAIC
> E-Mail: [EMAIL PROTECTED]
> Phone: (858) 826-4062
> Pager: (888) 997-9614
>