Creates a job stream that can then be used to perform network
directory or configuration file updates on remote nodes.
Syntax
MAKESTREAM streamfile, nodefile, commandfile
|
Parameters
- streamfile
The name of a file to be created that will contain
the job stream commands. The format is:
filename[.groupname[.accountname]]
The file must not already exist. The default allocation of
5000 variable length records may be overridden through a file equation.
- nodefile
The name of the file that contains a list of nodes
to be updated. The format is the same as that for streamfile.
This file may be generated by redirecting the output of the LISTDIR
command into a file, which may then be submitted directly to MAKESTREAM
or edited with a text editor such as TDP/3000. All node name entries
must begin with an alphabetic character.
- commandfile
The name of a file that contains NMMGR maintenance
mode commands. The format is the same as that for streamfile.
The commands in this file are applied to each node listed in nodefile.
Description
MAKESTREAM generates a text file of job stream commands suitable
for updating a group of nodes. The job stream is created based on
a list of nodenames contained in the nodefile
supplied. The nodefile acts as
a control file. The update status of each node is recorded for review
in the event of update failures such as transport problems or a
network being inaccessible.
The standard logon is NETADMIN.SYS,PUB.
Progress messages are sent to OPERATOR.SYS.
These and other parts of the job stream may be customized using
a text editor once the stream file is created. The commands executed
on each node in the nodefile are
taken from commandfile. Commands
may be any NMMGR maintenance mode commands and are executed on the
remote side of the connection established for each node being updated.
Only lines that begin with an alphabetic character in column
one of the nodefile are considered
node name entries.
Example
nodefile NLIST contains the following:
commandfile CMDS contains the following:
:FILE SRCDIR=NSDIR.PUB.SYS:$BACK
|
To generate and run a job stream, use the following commands:
NMMGR> MAKESTREAM SFILE, NLIST, CMDS
|
Generating job statements for node ASTRO.MKT.IND
|
Generating job statements for node POGO.DCL.IND
|
After job completion, file NLIST contains the following:
|
ASTRO.MKT.IND UPDATED 04/20/90 11:09 AM
|
POGO.DCL.IND UPDATED 04/20/90 11:14 AM
|