Releasing a Remote Environment [ Using NS3000/XL Network Services ] MPE/iX 5.0 Documentation
Using NS3000/XL Network Services
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 XL system, and if the QUIET
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 XL prompt.
Method 1
DSLINE MODELT
REMOTE HELLO HENRY.FORD
REMOTE BYE
DSLINE;CLOSE
or (user input is underlined for clarity)
DSLINE MODELT
REMOTE HELLO HENRY.FORD
DSLINE;CLOSE
ABORT THE REMOTE SESSION ON MODELT.DCL.IND?YES
SESSION ABORTED BY SYSTEM MANAGEMENT
Method 2
REMOTE HELLO MARIE.CURIE;DSLINE=RADIUM
REMOTE BYE
or
REMOTE:RADIUM HELLO MARIE.CURIE
REMOTE BYE
Method 3
:DSLINE MODELA
:REMOTE HELLO HENRY.FORD
:BYE
**implicit :DSLINE;CLOSE executed**
or
:REMOTE HELLO HENRY.FORD;DSLINE=MODELA
:BYE
or
:REMOTE:MODELA HELLO HENRY.FORD
:BYE
MPE/iX 5.0 Documentation