Defining a New Command Script
To define a new server
command script to the Tivoli Storage Manager server, complete the following
fields and then click Finish, or click Cancel
to end the task.
Note: The administrative Web interface only supports ASCII characters for input. If you need to enter characters that are not ASCII,
issue the DEFINE SCRIPT and UPDATE SCRIPT commands from the server console.
Name
Enter the name of the server command script. The maximum
length of this field is 30 characters.
Description
Enter the description of the new server command script to be
defined.
- The maximum length of the description is 255 characters.
Script Content
Enter the server commands or paste in the content from another
window.
- Commands can include substitution variables and can be continued
across multiple lines if a continuation character (-) is specified as
the last character in the command. Substitution variables are specified
with a '$' character, followed by a number that indicates the value of
the parameter when the script is processed (use $1, $2, etc.).
- A command line is limited to 1200 characters.
- Use conditional logic flow statements that include:
- A special If(...) clause to make logical
decisions based on the return code from the
previous command in a script.
- The EXIT command to terminate script processing
early.
- GOTO and label statements to branch logic in a
script. Use the label statement as a target of a
GOTO statement.
- Scripts may contain one or more SQL SELECT commands.
- See the Administrator's Reference for more information.