Using NS3000/iX Network Services (36920-90008)

Chapter 2 37
Virtual Terminal
REMOTE Command
REMOTE Command
Allows commands to be executed in a remote environment.
Syntax
REMOTE [:[envID][command ]
[envnum]
Use
Available In Session? Yes
In Job? Yes
In Break? Yes
Programmatically? Yes
Breakable? No
Capabilities? None
Parameters
envID The environment ID representing an established
session on the remote node. This environment ID may
be an actual node name. If both envID and envnum are
omitted, the default environment is the one most
recently referenced in a DSLINE or REMOTE command.
envnum The number of the environment assigned when the
environment was deļ¬ned. This environment number is
listed in the message returned after a DSLINE
command.
command A command that is to be executed in the remote
environment; for example an MPE/iX command to be
executed on a remote HP 3000.
Description
After you have established a remote environment (session) on a node,
the REMOTE command allows you to issue commands in that remote
environment. Because you can have several remote environments on a
node at the same time, you use the REMOTE command along with a
unique environment ID to specify one of several remote environments.
If you issue REMOTE commands without specifying an envID or envnum,
the default environment (the one most recently invoked) will be used.
NOTE If an RPM-created process is already executing in a remote
environment, you cannot issue a REMOTE command for that
environment.