Defining a server script
You can define a server script line-by-line, create a file that contains the command lines, or copy an existing script.
About this task
Restriction: You cannot redirect the output of a command within a server script.
Instead, run the script and then specify command redirection. For example, to direct the output of
script1 to the c:\temp\test.out directory, run the script
and specify command redirection as in the following example:
run script1 > c:\temp\test.out