Using NS3000/iX Network Services (36920-90008)

186 Chapter 8
NetCI
Scripting (Redirecting Input)
Scripting (Redirecting Input)
Scripting gives you the capability to store a sequence of commands and
data in a file to be used as input into NetCI. You execute the script file
with the PLAY command to sequentially perform operations instead of
issuing a series of commands. Refer to the following pages for more
information on the PLAY command.
You may execute PLAY in either the NetCI or MPE mode. For this
command only, both modes recognize the PLAY command and will
execute it.
Example Figure 8-4 shows scripting being activated. Before you execute the
script file, input is received from the keyboard, and output is sent to the
screen (interactive operational mode). When you execute the script file
with PLAY, input is received from the script file, and output continues
to be sent to the screen, since it has not been redirected. The straight
line under Output Mode indicates when and how long the output is
redirected to the screen. Note that the scripting operational mode is in
effect whenever you execute a script file.
Figure 8-4 Scripting Activated