Try fully qualifying the macro name, i.e. OBJECTS='"C:\Program Files\Tivoli\TSM\baclient\database.mac"'
(assuming you installed TSM to directory "C:\Program Files\Tivoli\TSM".) Note the use of double quotes around the path spec, and the single quotes around the whole thing. This accommodates the blank spaces in the path. If there are no spaces in your path, then you can omit the quotes, i.e.: OBJECTS=C:\TSM\baclient\database.mac Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. Joe Cascanette <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 03/12/2002 09:00 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: Problem with macros Server 4.2.1.12 - Windows 2000 Client 4.2.1.20 - Windows 2000 I am having problem launching macros at the server under scheduling. I create a schedule: DEFINE SCHEDULE STANDARD AUTOMATION DESCRIPTION="Automated TSM" ACTION=MACRO OBJECTS=database PRIORITY=3 STARTDATE=03/12/02 STARTTIME=10:40:00 DURATION=15 DURUNITS=MINUTES PERIOD=1 PERUNITS=DAYS DAYOFWEEK=WEEKDAY EXPIRATION=NEVER I associate the schedule to CLIENT (the server) and I watch it launch in the events (q ev * *). When the event launches it gives me an error in the actlog: 03/12/2002 10:40:50 ANR0406I Session 1989 started for node CLIENT (WinNT) (Tcp/Ip 172.16.8.35(3352)). 03/12/2002 10:40:50 ANR0484W Session 1989 for node CLIENT (WinNT) terminated - protocol violation detected. Here is my marco (database.mac) that is located in the BACLIENT directory: select process form processes where process='backup storage pool' if (rc_notfound) goto database goto resced exit database: issue message i "Copying of ONSITE tapes to OFFSITE tapes is COMPLETE...will now start FULL Database backup" BACKUP DB DEVC=DLT TYPE=FULL /* delete schedule and add new one to reflect next script */ exit RESCED: issue message i "Copying of ONSITE tapes to OFFSITE tapes is not complete...will recheck in 15 minutes" /* will update schedule to check in 15 minutes */ exit