Someone here has gone off and created their own cmd file that TSM launches to do an archive. I can't seem to find anything in the help file on these variables. Maybe someone more familiar with variables can please tell me if this will work. From what I can tell looking at the return codes it looks like it is saying it found nothing to backup and reports a failure.
I'm told if they run this cmd file manually from the server it works. Why then would TSM have a problem with it when all it's doing is calling the same file? MonthArchive.cmd chdir /D "%ARCHIVE_DIR%" dsmc.exe archive -subdir=yes -archmc=month-mgt %ARCHIVE_INCLUDES% System Variables ARCHIVE_DIR=E:\Tivoli\TSM\baclient ARCHIVE_INCLUDES="C:\SAIC\*.*" "E:\NOTES\*.*" dsmerror.log excerpt 02/01/2003 17:59:14 ANS1079E No file specification entered 02/01/2003 17:59:15 ANS1909E The scheduled command failed. 02/01/2003 17:59:15 ANS1512E Scheduled event 'NOTES-MONTH' failed. Return code = 12 dsmsched.log excerpt 01/31/2003 19:26:20 --- SCHEDULEREC QUERY BEGIN 01/31/2003 19:26:20 --- SCHEDULEREC QUERY END 01/31/2003 19:26:20 Next operation scheduled: 01/31/2003 19:26:20 ------------------------------------------------------------ 01/31/2003 19:26:20 Schedule Name: NOTES-MONTH 01/31/2003 19:26:20 Action: Command 01/31/2003 19:26:20 Objects: c:\commands\MonthArchive.cmd 01/31/2003 19:26:20 Options: 01/31/2003 19:26:20 Server Window Start: 18:00:00 on 02/01/2003 01/31/2003 19:26:20 ------------------------------------------------------------ 01/31/2003 19:26:20 Waiting to be contacted by the server. 02/01/2003 17:59:12 TCP/IP accepted connection from server. 02/01/2003 17:59:12 Querying server for next scheduled event. 02/01/2003 17:59:12 Node Name: CP-ITS-NOTESMTA 02/01/2003 17:59:12 Session established with server ADSM: AIX-RS/6000 02/01/2003 17:59:12 Server Version 5, Release 1, Level 5.2 02/01/2003 17:59:12 Server date/time: 02/01/2003 18:00:24 Last access: 01/31/2003 19:27:32 02/01/2003 17:59:12 --- SCHEDULEREC QUERY BEGIN 02/01/2003 17:59:12 --- SCHEDULEREC QUERY END 02/01/2003 17:59:12 Next operation scheduled: 02/01/2003 17:59:12 ------------------------------------------------------------ 02/01/2003 17:59:12 Schedule Name: NOTES-MONTH 02/01/2003 17:59:12 Action: Command 02/01/2003 17:59:12 Objects: c:\commands\MonthArchive.cmd 02/01/2003 17:59:12 Options: 02/01/2003 17:59:12 Server Window Start: 18:00:00 on 02/01/2003 02/01/2003 17:59:12 ------------------------------------------------------------ 02/01/2003 17:59:12 Executing scheduled command now. 02/01/2003 17:59:12 Executing Operating System command or script: c:\commands\MonthArchive.cmd 02/01/2003 17:59:15 Finished command. Return code is: 12 02/01/2003 17:59:15 ANS1909E The scheduled command failed. Geoff Gill TSM Administrator NT Systems Support Engineer SAIC E-Mail: [EMAIL PROTECTED] Phone: (858) 826-4062 Pager: (877) 905-7154
