This setting applies only to 5250 connections over Telnet.
When you establish a 5250 terminal session, specific information is sent to the AS/400 to configure your session. When you connect over Telnet, you can pass additional information at connect time as input to an Exit program on the AS/400. Use the Telnet Environment setting to send this additional information. Enter a string of up to 260 characters, using the following format:
keyword=value; keyword=value; keyword=value
When Auto SignOn is set to Yes, Host Integrator automatically signs on to the host using the current values of the Username and Password settings. You can set Telnet Environment to specify additional, non-default sign on options using any of the following keywords in the Exit program string:
|Keyword||Sets||Equivalent Sign On Menu Option|
|IBMPROGRAM||Program to call||Program/procedure|
|IBMCURLIB||Current library||Current library|
For example, the following statement specifies that when Host Integrator makes a Telnet connection using Auto SignOn, the host should display the menu called MAIN, run the program called QCL, and set QGPL as the current library:
Session.TelnetEnvironment = "IBMIMENU=MAIN;IBMPROGRAM=QCL;IBMCURLIB=QGPL"
Because this information is sent at connect time, you cannot change this setting while you are connected. For more information, including sample Telnet Exit programs, see http://www.as400.ibm.com.