SNA NRJE User/Programmer Reference Manual (30292-90006)
78 Chapter3
User Commands
NRJE
If you enter an NRJE command from MPE, the
Wsid
parameter is
optional; however, it is required if you issue the command within the
NRJE subsystem. In either case, when you specify a
Wsid
in an NRJE
command, you designate a default workstation for your NRJE session.
A workstation specified in an NRJE command remains the default
workstation for your NRJE session until you enter another NRJE
command with its own
Wsid
.
When you establish a default workstation, you can utilize NRJE user
and manager commands more efficiently. For example, the SUBMIT
command contains an optional WSID=
Wsid
parameter. Once you have
established a default workstation, you can issue a SUBMIT command for
a workstation without appending a WSID=
Wsid
parameter. The
subsystem defaults to the workstation specified in your last NRJE
command.
NOTE
If you do not set up a default workstation, you must include the
WSID=
Wsid
parameter in every command that includes that parameter.
After entering NRJE from MPE, you can set up a new default
workstation by issuing an NRJE command with a
Wsid
. If you did not
identify a
Wsid
in your initial NRJE command, your new NRJE command
with the
Wsid
establishes the first default workstation for your session.
If you did identify a
Wsid
in your initial NRJE command, your new NRJE
command enables you to switch to a different default workstation.
You can designate a default workstation and then enter certain user or
manager commands with a WSID=
Wsid
parameter. In this case, the
subsystem executes the command for the workstation in the WSID=
Wsid
parameter. However, use of a WSID=
Wsid
parameter does not change the
default workstation. If you then issue another command without the
WSID=
Wsid
parameter, the subsystem executes that command for the
default workstation. The following example illustrates switching from
RMT11 as a default workstation to RMT99 as a default, and then back
to RMT11. Remember that an EXIT command always returns control to
the process that called the NRJE CI.