Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostConnection Class > Properties

sessionEnvVars Property (string)

Scroll Prev Top Next More

Use this property to set the session connection telnet variables which have the same syntax as the sessionOptions

 

HostConnection.sessionEnvVars

 

Arguments

 

HostConnection

 Required. HostConnection object.

 

Remarks

 

READWRITE.

 

For TN5250 connections, there are a number of formal Telnet Environment Variables that can be passed to the host as part of the telnet handshake phase.

 

Note that if the DEVNAME is specified, it follows the same usage as LUName in the sessionOptions.

 

For example, to set the Current Library and Initial Menu properties, do the following:

 

oConn.sessionEnvVars = "IBMCURLIB:QGPL;IBMIMENU:MAIN;"

 

The following table shows the session options available for Display Sessions

 

Display Settings

Example Values

Comment

DEVNAME

MYDEVICE07

Display Device Name--same as LUName in sessionOptions

USER

USERXYZ

User Profile Name for Signin

IBMCURLIB

QGPL

Current (Initial) Library

IBMIMENU

MAIN

Initial Menu

IBMPROGRAM

QCMD

Program to Call on Connecting

 

Requirements

 

Inventu Viewer+

 

See Also

 

Connect | sessionHost | sessionPort | sessionType | sessionOptions

 

Applies To: HostConnection object

 


© 2022 Inventu Corporation