Using NS3000/iX Network Services (36920-90008)

Chapter 2 35
Virtual Terminal
Releasing a Remote Environment
Releasing a Remote Environment
The method that you use to release a remote environment depends
upon the way it was initially created:
1. If the environment was defined by a DSLINE command, it can be
released only by a corresponding DSLINE;CLOSE command.
2. If the environment was defined in a REMOTE HELLO command, it can
be released by either a REMOTE BYE command or a DSLINE;CLOSE
command.
3. If you terminate the local session (with a local BYE or ABORTJOB)
without explicitly releasing the remote environment, (a) all open
files and active processes on the remote node will be closed or
terminated, and (b) an implicit DSLINE @.@.@;CLOSE will be
executed. (You will not be asked whether you wish to abort the
remote session.)
If you issue a DSLINE;CLOSE command (without a REMOTE BYE) after a
session has been established on a remote MPE/iX system, and if the
option is not in effect, you will be asked:
ABORT REMOTE SESSION ON envID?
A Y[ES] response will abort the remote session and terminate the
connection. A
N[O] answer will cancel the DSLINE ;CLOSE command
and leave the remote session intact. DSLINE ;CLOSE may not be issued
while remote files are open or while dependent RPM processes exist on
the remote node. The appropriate FCLOSE, TERMINATE, or RPMKILL
intrinsic must be executed first or an error message will appear. For
information on Remote File Access, and Remote Process Management,
see the corresponding chapters of this manual.
NOTE A REMOTE BYE command may be viewed as a particular instance of a
command to a remote system. You can issue a remote command
through the Virtual Terminal service once a remote session has been
established via a REMOTE HELLO. (See the explanation of the REMOTE
command in this chapter.)
Examples
In the following examples, all commands that are shown are typed at
the MPE/iX prompt.
Method 1
DSLINE MODELT
REMOTE HELLO HENRY.FORD
REMOTE BYE
DSLINE;CLOSE
or (user input is bold for clarity)