IBM Tivoli Storage Manager, Version 7.1

Running a server script

To process a script, issue the RUN command. You can run a script that contains substitution variables by specifying them along with the RUN command.

About this task

Note: There is no Tivoli® Storage Manager command that can cancel a script after it starts. To stop a script, an administrator must halt the server.

You can preview the command lines of a script without actually executing the commands by using the PREVIEW=YES parameter with the RUN command. If the script contains substitution variables, the command lines are displayed with the substituted variables. This is useful for evaluating a script before you run it.

For example, to process the QAIXC script previously defined, issue:
run qaixc
To process the following script that contains substitution variables:
/*----------------------------------------------*/
/* Sample continuation and substitution example */
/* ---------------------------------------------*/
SELECT-
$1 FROM-
NODES WHERE-
PLATFORM='$2'
Enter:
run qaixc node_name aix
Where $1 is node_name and $2 is aix.


Feedback