.SetupSession

Syntax

SetupSession SessionType, TerminalModel, TransportType

Description

Defines the necessary settings for establishing a session. These settings must be supplied with this command, rather than independently, with properties, because they are interdependent. The following command sets up a 3270 terminal session emulating an extended Model 2 terminal using a Telnet transport:

SetupSession rc3270Terminal, rc3270MODEL2E, rcTelnet

This method fails if you run it when Host Integrator is connected to a host or if the arguments you use are not compatible with each other.

Command Parameters

SessionType Argument type: Enumeration
  The type of device to emulate. The possible values are:

HP Terminal
Configures the Design Tool to emulate an HP terminal.

IBM 3270 Terminal
Configures the Design Tool to emulate a 3270 terminal.

IBM 5250 Terminal
Configures the Design Tool to emulate a 5250 terminal.

VT Terminal
Configures Design Tool to emulate a VT terminal.

   
TerminalModel Argument type: Enumeration
  The terminal to emulate. The possible values vary according to the value of both the SessionType and TransportType arguments. To determine if a particular model is available for the transport you have selected, open the Session Setup dialog box on the Connection menu.
   
TransportType Argument type: Enumeration
 

The transport to use. The options include Telnet, Telnet Extended, and NS/VT.

Note: NS/VT is only applicable when connecting to HP3000 hosts.