Using NS3000/iX Network Services (36920-90008)

Chapter 8 191
NetCI
Writing and Executing Script Files
%comment show NetCI nodes'
%comment and lists' configu-
%comment ration
adds comment that this file will list the NetCI
configuration for the NET3 network.
%log logfile1
redirects output to log file called LOGFILE1. A slash
does not need to precede the NetCI command since you
will be in a NetCI mode. Refer to the LOG command
discussed later in this section.
%shownode @ displays the NetCI configuration for all nodes.
%showlist @ displays all the lists and the nodes on each list.
%logreset resets output back to the screen. Refer to the LOGRESET
command discussed later in this section.
Example 2
This example executes a script file called SCRIPT2 on node Y, causing
you to be in MPE mode. Since there is also an MPE COMMENT command,
you do not need to use the NetCI COMMENT command. To execute the
script file, you enter
NetCI>Y PLAY SCRIPT2 FINANCE
The SCRIPT2 script file contains the following commands:
%comment run listdir5
%comment program
adds comment that this file runs the listdir5
program.
%/log logfile2
redirects output to a log file called LOGFILE2. A slash
must precede the NetCI LOG command since you will be
in MPE mode. Refer to the LOG command discussed
later in this section.
%run
listdir5.pub.sys
executes program.
listacct !1 lists attributes for the first parms value (which is
FINANCE) specified in PLAY command. This is a
subsystem command within the program called
listdir5.
listgroup @.!1
lists attributes for all groups in FINANCE. This is a
subsystem command within listdir5.
listuser @.!1 lists attributes for all users in FINANCE. This is a
subsystem command within listdir5.