InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmTerminal Object / TelnetEnvironment Property
In This Topic
    TelnetEnvironment Property
    In This Topic
    Gets or sets a string that is passed to an "Exit program" on an AS/400 host when InfoConnect makes a Telnet connection.
    Syntax
    expression.TelnetEnvironment As String
    where expression is a variable that represents a IbmTerminal Object
    Exceptions
    ExceptionDescription
    This exception is thrown if the set parameter is longer than the maximum allowed.
    This exception is thrown when you modify a property that was secured via the Permissions Manager, or that can only be modified by an Administrator.
    Remarks
    Exit programs run when a Telnet session is either initiated or terminated and use this format:

    keyword=value; keyword=value; keyword=value

    When you use Auto SignOn (AutoSignon = True), InfoConnect automatically signs on to the host using the current values of the UserName and Password properties. You can set TelnetEnvironment to specify additional, non-default sign on options using any of the following keywords in the Exit program string:

    • Sets the program to call (equivalent of the Sign On menu's Program/procedure option).
    • Sets the initial menu (equivalent of the Sign On menu).
    • Sets the current library (equivalent of the Sign On menu's Current library option).

    You cannot change the value of this property while you are connected. This property applies only to 5250 terminal sessions using Telnet.

    See Also