First, run the query outside of a script to confirm the behavior, like this:
dsmc q b c:\file.txt echo %errorlevel% If the errorlevel is 8, that would confirm that the script is not at issue. Next check your dsmerror.log for any warning messages that coincide with the time you ran the query. If I were a betting man, my money would say you are hitting the infamous ANS1009W DRM registry problem. Best regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Product Development Level 3 Team Lead Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] IBM Tivoli Storage Manager support web page: http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. "ADSM: Dist Stor Manager" <[email protected]> wrote on 08/12/2008 03:11:06 PM: > I have a script that was tested in 5.3, but has been moved to a 5.4 > client on windows. Where 'dsmc q backup c:\file.txt' would return 0 > if there was a backup and 8 if there was not, it just returns 8. > Anyone seen this weirdness? > > +---------------------------------------------------------------------- > |This was sent by [EMAIL PROTECTED] via Backup Central. > |Forward SPAM to [EMAIL PROTECTED] > +----------------------------------------------------------------------
