Using NS3000/iX Network Services (36920-90008)

Chapter 8 179
NetCI
Executing Remote Commands
Executing Remote Commands
NetCI automatically establishes a session on a node when a remote
command is executed. Simply specify after the NetCI> prompt the
NetCI node or list name followed by the NetCI or MPE command.
NetCI will establish a session on the NS 3000 node associated with the
NetCI node name, or on the nodes belonging to the list. This eliminates
your having to log on remotely to each node when executing commands
and running programs. For example, when you enter
NetCI>PINOIT SHOWJOB
NetCI will automatically log you on to NS 3000 node Y as
operator.sys and execute the SHOWJOB command. If you recall from
our sample LAN, PINOIT is associated with logon session
operator.sys on NS node Y. This command will display the status
information for all jobs/sessions/scheduled jobs on NS node Y.
Node Prompt
After a command is executed on the remote node, the NetCI> prompt
automatically changes to the node’s name. For example, when you enter
NetCI>PINOIT SHOWJOB
the status information for all jobs/sessions/scheduled jobs on PINOIT is
displayed. The prompt then changes to
PINOIT>
which indicates the node against which you last executed commands or
programs.
You can also change the default prompt to any node prompt by entering
the NetCI node name after the current prompt. For example, when you
enter
PINOIT>CHABLIS
the prompt changes to
CHABLIS>
which is now the default prompt.
By specifying a default prompt, you can execute several commands on a
node without specifying the node name each time you specify a
command. For example, when you enter
CHABLIS>SHOWJOB
CHABLIS>SHOWJOB JOB=@JOB
CHABLIS>SHOWJOB JOB=@S
it eliminates your having to specify the node each time.