HELP CONNECT — VMS 5.0
Connects your physical terminal to a virtual terminal that is
connected to another process.
Format:
CONNECT virtual-terminal-name
Additional information available:
ParametersCommand QualifiersExamples
Parameters
virtual-terminal-name The name of the virtual terminal to which you are connecting. A virtual terminal name always begins with VTA. To determine the name of the virtual terminal that is connected to a process, enter the SHOW USERS command.
Command Qualifiers
Additional information available:
/CONTINUE
/CONTINUE /NOCONTINUE (default) Controls whether the CONTINUE command is executed in the current process just before connecting to another process. This allows an interrupted image to continue processing after you connect to another process. The /CONTINUE qualifier is incompatible with the /LOGOUT qualifier.
/LOGOUT
/LOGOUT (default) /NOLOGOUT Controls whether your current process is logged out when you connect to another process using a virtual terminal. When you issue the CONNECT command from a process that is not connected to a virtual terminal, you must explicitly specify the /LOGOUT qualifier. Otherwise, DCL will issue an error message. The /LOGOUT qualifier is incompatible with the /CONTINUE qualifier.
Examples
1. $ RUN AVERAGE
^Y
$ CONNECT/CONTINUE VTA72
In this example, the RUN command is used to execute the image
AVERAGE.EXE. This command is issued from a terminal that is
connected to a virtual terminal. Next, CTRL/Y is used to interrupt
the image. After you interrupt the image, you issue the CONNECT
command with the /CONTINUE qualifier. This issues the CONTINUE
command so the image continues to run, and then connects you to
another virtual terminal. You can connect back to the process
later.
2. $ SHOW USERS
VAX/VMS Interactive Users
23-OCT-1987 15:25:30.75
Total number of interactive users = 5
Username Process Name PID Terminal
REICH REICH 2040055C VTA267: TXC13:
GLASS Phil 20400560 VTA270: LTA102:
ADAMS ADAMS 20400551 VTA261: TTC7:
JANZEN JANZEN 2040056D VTA272:
Disconnected
JANZEN _VTA273: 2040056E VTA273: TTB5:
$ CONNECT VTA273
JANZEN logged out at 23-OCT-1987 15:26:56.53
$
This example shows how to reconnect to your original process after
you have lost the carrier signal. First, you must log in again and
create a new process. After you log in, issue the SHOW USERS
command to determine the virtual terminal name for your initial
process. Then issue the CONNECT command to connect to the virtual
terminal associated with your original process. The process from
which you issue the CONNECT command is logged out because no
qualifiers are specified.
When you connect back to your original process, you continue running
the image you were running when you lost the carrier signal. In
this example, the user JANZEN was at DCL level when the connection
was broken.