NS3000/iX Operations and Maintenance Reference Manual (36922-90042)
86 Chapter6
Using NETTOOL
Using NETTOOL
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.
Running 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.
Keep the following in mind when running NETTOOL in batch mode:
• Be sure to consider any optional parameters. For example, if an
output file for a command might already exist, you will need to tell
the program whether or not to purge it.
• Help is not available on the commands or user tools if an INFILE is
active.