ADSM-L

DSMC ARCHIVE doesn't set %errorlevel%?

2004-09-22 10:39:19
Subject: DSMC ARCHIVE doesn't set %errorlevel%?
From: "Thomas Rupp, Vorarlberger Illwerke AG" <Thomas.Rupp AT ILLWERKE DOT AT>
Date: Wed, 22 Sep 2004 16:39:14 +0200
Hi TSM-ers,

I'm running a DOS Skript (archive.cmd) on a Windows XP professional
computer
with a TSM 5.2.0.1 client to archive some files.

DSMC Archive D:\* -deletefiles > C:\temp\tsm.log
If errorlevel 1 Goto Error

Unfortunately the variable errorlevel always returns 0 even if the
tsm.log
contains the following lines:

IBM Tivoli Storage Manager 
*** Fixtest, Please see README file for more information *** 
Command Line Backup/Archive Client Interface - Version 5, Release 2,
Level 0.1 
(c) Copyright by IBM Corporation and other(s) 1990, 2003. All Rights
Reserved.

Archive function invoked.

Node Name: PCS506
Session established with server NSM: AIX-RS/6000
  Server Version 4, Release 2, Level 2.8
  Server date/time: 22.09.2004 16:02:18  Last access: 22.09.2004
16:00:50

ANS1016I No eligible files were found.
ANS1803E Archive processing of '\\pcs506\d$\Messwertarchivierung\*'
finished with failures.

I have searched Richard Sims Quickfacts, ADSM-L and the Internet but
could not find a 
solution.

Could this be a bug or is it just me not seeing the obvious?

Thanks in advance
Thomas Rupp
<Prev in Thread] Current Thread [Next in Thread>