12.07.2015 Views

Installation and User's Guide

Installation and User's Guide

Installation and User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 35. Client return codes <strong>and</strong> their meanings (continued)Code Explanationother For scheduled operations where the scheduled action is COMMAND, thereturn code is the return code from the comm<strong>and</strong> that was executed. If thereturn code is 0, the status of the scheduled operation is Completed. Ifthereturn code is nonzero, then the status is Failed.Some comm<strong>and</strong>s might issue a nonzero return code to indicate success. Forthese comm<strong>and</strong>s, you can avoid a Failed status by wrapping the comm<strong>and</strong> ina script that invokes the comm<strong>and</strong>, interprets the results, <strong>and</strong> exits withreturn code 0 if the comm<strong>and</strong> was successful (the script should exit with anonzero return code if the comm<strong>and</strong> failed). Then ask your Tivoli Storagemanager server administrator to modify the schedule definition to invokeyour script instead of the comm<strong>and</strong>.The return code for a client macro is the highest return code issued among theindividual comm<strong>and</strong>s that comprise the macro. For example, suppose a macroconsists of these comm<strong>and</strong>s:selective c:\MyTools\* -subdir=yesincremental c:\MyPrograms\TestDriver\* -subdir=yesarchive e:\TSM510C\* -subdir=yesIf the first comm<strong>and</strong> completes with return code 0; the second comm<strong>and</strong>completed with return code 8; <strong>and</strong> the third comm<strong>and</strong> completed with return code4, the return code for the macro is 8.See the IBM Tivoli Storage Manager Administrator's Reference for your operatingsystem for more information about QUERY EVENT.234 IBM Tivoli Storage Manager for Windows Backup-Archive Clients: <strong>Installation</strong> <strong>and</strong> <strong>User's</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!