NS3000/iX Operations and Maintenance Reference Manual (36922-90039)
84 Chapter6
Using NETTOOL
Using NETTOOL
REDO Make changes to last command and then execute the
command again. You can choose a command from the
redo stack by specifying its command number using the
syntax REDO commandnumber. The “d”, “i”, and “r” edit
commands are allowed as well as direct replacement.
SETVAR Set variable to given value using the syntax SETVAR
variable value.
SHOWVARS Show the variables in use.
VERSION Display the revision numbers of NETTOOL modules and
of the NS transport.
: Interactively execute MPE commands.
:MPEcommand Execute one or more MPE commands then return to
NETTOOL.
# Designates a comment. Comments may be inserted in a
command string or in an INFILE record. Comments
must be separated from any previous text in a record or
string by a semicolon.
? Shows the current menu.
To Run NETTOOL in Batch Mode
You can run NETTOOL from a job with very few restrictions. The
commands can come from either a job file or from an input file. For
example, you could use the following job to print a copy of the NETTOOL
manual in batch mode:
!job nettool,user/userpass.account/acctpass;outclass=pp,2
!nettool.net.sys
:file printdev;dev=pp;env=elite2.hpenv.sys
manual
*printdev
60
quit
!eoj
You could perform the same operation using an INFILE for the user
input, as follows:
!job nettool,user/userpass.account/acctpass;outclass=pp,2
!nettool.net.sys;info=“infile filename”
!eoj
The input file must contain all the user input, including the QUIT
command.