Defining a New Command Script
To define a new server command script to the ADSM server,
complete the following fields and then click Finish,
or click Cancel to end the task.
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 may contain substitution variables (use $1, $2,
etc) and may be continued across multiple lines if a
continuation character ("-") is specified as
the last character in the line.
- 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.