Using NS3000/iX Network Services (36920-90008)

180 Chapter 8
NetCI
Executing Remote Commands
List Prompt
You can also specify a list name against which a script file, command, or
program can be executed. After the prompt, enter the list name and
command. For example, when you enter
CHABLIS>LIST1 SHOWJOB
the SHOWJOB command sequentially executes on all nodes that are
members of LIST1 (which includes nodes H, I, and K). It also eliminates
your having to log on and execute the SHOWJOB command on each node.
You can also change the default prompt to any list prompt by entering
the list name after the current prompt. For example, when you enter
LIST1>ALLNODES
the prompt changes to
ALLNODES>
which is now the default prompt.
By specifying a default list prompt, you can execute several commands
against the list without specifying the list name each time you specify a
command. For example, when you enter
ALLNODES>SHOWJOB
ALLNODES>SHOWJOB JOB=@JOB
ALLNODES>SHOWJOB JOB=@S
it eliminates your having to specify the list name each time.
NetCI Prompt
You can return to the NetCI prompt by typing a colon (:) or NetCI after
a node or list prompt. For example, when you enter
ALLNODES>:
or
ALLNODES>NETCI
you will be returned to the NetCI> prompt.