Automate cmd file

tsmlover

ADSM.ORG Member
Joined
Oct 14, 2008
Messages
390
Reaction score
1
Points
0
I just want to execute my excfull.cmd file thru scheduling... when i manually click on the command file it works fine but when i try to automate this task i found the below error on schedlog ..


Executing scheduled command now.
06/16/2009 16:05:03
Executing Operating System command or script:
c:\Program Files\Tivoli\TSM\TDPExchange\excfull.cmd
06/16/2009 16:05:03 Finished command. Return code is: 1
06/16/2009 16:05:03 ANS1909E The scheduled command failed.
06/16/2009 16:05:03 ANS1512E Scheduled event 'DAILY_FULL' failed. Return code = 1.
06/16/2009 16:05:03 Sending results for scheduled event 'DAILY_FULL'.
06/16/2009 16:05:03 Results sent to server for scheduled event 'DAILY_FULL'.
06/16/2009 16:05:03 TSM Backup-Archive Client Version 5, Release 5, Level 0.0
06/16/2009 16:05:03 Querying server for next scheduled event.
06/16/2009 16:05:03 Node Name: MBX01
06/16/2009 16:05:03 Session established with server TSM_SERVER1: Windows
06/16/2009 16:05:03 Server Version 5, Release 5, Level 0.0
06/16/2009 16:05:03 Server date/time: 06/16/2009 16:05:03 Last access: 06/16/2009 16:05:03
06/16/2009 16:05:03 --- SCHEDULEREC QUERY BEGIN
06/16/2009 16:05:03 --- SCHEDULEREC QUERY END
06/16/2009 16:05:03 Next operation scheduled:
06/16/2009 16:05:03 ------------------------------------------------------------
06/16/2009 16:05:03 Schedule Name: DAILY_FULL
06/16/2009 16:05:03 Action: Command
06/16/2009 16:05:03 Objects: c:\Program Files\Tivoli\TSM\TDPExchange\excfull.cmd
06/16/2009 16:05:03 Options:
06/16/2009 16:05:03 Server Window Start: 16:05:00 on 06/17/2009
06/16/2009 16:05:03 ------------------------------------------------------------
06/16/2009 16:05:03 Waiting to be contacted by the server.
 
Last edited:
Are there additional errors in your client logfiles or tsm server actlog?
 
below is ma act log

(DSMAPI). (SESSION: 72)
ANR2561I Schedule prompter contacting MBX01 (session 74)
to start a scheduled operation. (SESSION: 17)
ANR0403I Session 74 ended for node MBX01 (). (SESSION: 17)
ANR0406I Session 75 started for node MBX01 (WinNT) (Tcp/Ip
mbx01-node1.abcgroup.com(3288)). (SESSION: 75)
ANR2579E Schedule DAILY_FULL in domain EXCHDOMAIN for node
MBX01 failed (return code 1). (SESSION: 75)
ANR0403I Session 75 ended for node MBX01 (WinNT).
(SESSION: 75)
ANR0406I Session 76 started for node MBX01 (WinNT) (Tcp/Ip
mbx01-node1.abcgroup.com(3289)). (SESSION: 76)
ANR0403I Session 76 ended for node MBX01 (WinNT).
(SESSION: 76)
 
If that doesn't help, please post the output of q sch * DAILY_FULL f=d.

You did enclose the object string (that would be "c:\Program Files\Tivoli\TSM\TDPExchange\excfull.cmd") in double quotes if it contains blank characters (spaces), and then surround the double quotes with single quotes as per HELP DEF SCHED, did you?
 
I guess you are ryte johnW ... tell me one more thing how to stop running backup of my protected server.... i try to stop backup using CAN Session 144 command but it get another session.... i want to terminate/stop the session....
 
Try cancelling the client session multiple times. If that doesn't work, kill the working process on the client. If that doesn't help, restart the scheduler on the client. If that doesn't help, delete the schedule on the server (it's not doing what you want anyway, we'll recreate it later) and restart the client scheduler again.
 
Back
Top