1 CONNECT Establishes a TELNET connection between your local system and a remote host. You can run one session or 10 or more simultaneous sessions (only one session if you invoke TN3270). DCL Format CONNECT host [ port* [ terminal_type ] ] * Required if you specify terminal type. UNIX Format open host [ port ] [ terminal_type ] 2 Parameters host Required. Remote host to which you want to connect. port Optional without terminal_type. Required with terminal_type. Default: 23. TELNET port on the remote host. Specify this parameter if: o You are invoking TN3270. o You are connecting to a host that does not use the standard TELNET port. terminal_type Optional. Default: model of your physical terminal. Terminal model that you want your physical terminal to function as. Specify one of the following: o For a session running TN3270, the terminal model to emulate. Enter one of the following: - IBM-3278-2 - IBM-3278-3 - IBM-3278-4 - IBM-3278-5 o For a non-TN3270 session, any terminal type recognized by the remote host, such as VT100, VT200, VT300, VT400, and VT500. 2 Examples 1.TELNET> CONNECT MYBUD Establishes a TELNET connection to remote host MYBUD. 2.TELNET> CONNECT DEBTS 23 IBM-3278-2 Establishes a TELNET connection to remote host DEBTS and runs TN3270. Your terminal functions as an IBM-3278-2 model terminal. For syntax reasons, specifying a port number is required. 3.TELNET> CONNECT 130.180.5.5 Establishes a TELNET connection to the host at IP address 130.180.5.5. 4.TELNET> CONNECT REVIN 31 Establishes a TELNET connection to remote host revin. The connection is at port 31 on revin. 5.% TELNET> CONNECT QUIK . . . % During a TELNET session with a UNIX host, pressing Ctrl/] escapes to the TELNET prompt. Another CONNECT command establishes a second session, this one to UNIX host quik.