The method that you use to release a remote environment depends
upon the way it was initially created:
If the environment was defined by a
DSLINE command, it can be released only by a
corresponding DSLINE;CLOSE command.
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.
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)
DSLINE MODELT REMOTE HELLO HENRY.FORD DSLINE;CLOSE ABORT THE REMOTE SESSION ON MODELT.DCL.DETROIT?YES SESSION ABORTED BY SYSTEM MANAGEMENT
|
Method 2
REMOTE HELLO MARIE.SYS5;DSLINE=RADIUM REMOTE BYE
|
or
REMOTE:RADIUM HELLO MARIE.SYS5 REMOTE BYE
|
Method 3
:DSLINE MODELA :REMOTE HELLO HENRY.FORD :BYE <F14P10M>**implicit :DSLINE;CLOSE executed**
|
or
:REMOTE HELLO HENRY.FORD;DSLINE=MODELA :BYE
|
or
:REMOTE:MODELA HELLO HENRY.FORD :BYE
|