NetBase for MPE Reference Guide
AutoRPM
8-3
Defining a Program for AutoRPM
As with other services in NetBase, definitions for remote programs are entered in NetBase's
directory using the directory maintenance program NBDIR. On the local computer, NetBase needs to
know where the remote program exists and how to run it. It also needs to know how to logon to the
remote system on behalf of the local user in order to create the remote process. Therefore, you must
enter PROGRAM and LOGON entries in NBDIR.
AutoRPM Example
Setting up a program for AutoRPM requires two NBDIR entries. A LOGON record tells NetBase that
the local user is defined to use an AutoRPM program and provides the information needed to create
a remote session for that user. A PROGRAM record maps a local program name to the name of a
program on a remote node that should be run instead.
Setting up AutoRPM also requires the use of a “stub” program. The NetBase shell does not
intercept MPE commands so when a user issues a RUN command, NetBase does not see it. In order
for NetBase to intercept the RUN command, a special program has been created called NBNULL. This
program will cause NetBase to do a lookup in its directory to find out where to actually run the
remote program.
LOGON Syntax
D> LOGON localuser[:node]=logonstring
PROGRAM Syntax
D> PROGRAM progname [=remoteprog][,nodeid][;LIB= ]
[;PARM=]
[;NOEQ ]
[;NOJCW]
[;XL= ]