[ Previous | Contents | Search ]
3270 Host Connection Program 2.1 and 1.3.3 for AIX: Guide and Reference

xhcon Command


Initiates one or more HCON display sessions, using AIXwindows environment and the Motif interface.


xhcon -h -T SessionNameSessionName ... ] }


The Host Connection Program (HCON) xhcon command initiates one or more 3278/79 display sessions. The xhcon command allows connection to a System/370 or System/390 host using one or more adapters to connect to a host. The xhcon command supports up to 26 host sessions per user, depending on the number available through the adapters.

The SessionName parameter specifies the name of the session to be initiated. The name must be an alphabetic character. Uppercase characters are treated as lowercase. The session name must refer to a session that has been previously defined using SMIT or the mkhcons command. If more than one session is specified, the names should be listed without blanks separating them. For example, the following command initiates four display sessions:

xhcon abcd

The xhcon command supports the low function terminal (LFT) or Xstations supported by the operating system. All 3270 display models are supported. This includes models 2, 3, 4, and 5. The xhcon command supports all AIX language locales.

Note: Only HCON users can own sessions and use the xhcon command.


-h Displays a help screen for the xhcon command. This screen consists of a summary of each available command option and command operation. When the -h flag is specified, the help screen displays, all other options are ignored, and emulation sessions are not initiated.
-T Disables the keyboard typeahead function.


  1. To start a 3270 display session using HCON, enter:
    xhcon a
    Display session a is established, if it has been previously defined using SMIT or the mkhcons command.
  2. To start three 3270 display sessions using the HCON, enter:
    xhcon azx
    The display sessions a , z , and x are established if they were previously defined using SMIT or the mkhcons command. Only one session is active to the screen at a time. To toggle between sessions, use the menubar option.
  3. To get help for the xhcon command, enter:
    xhcon -h
    A help screen for the xhcon command displays. No display session is initiated.


/usr/bin/xhcon Contains the xhcon command.
$HOME/hconerrors Contains HCON error messages.

Related Information

The 3270 Emulator, HCON Sessions and Session Profiles, HCON Utility Program Overview, and List of HCON Commands.

[ Previous | Contents | Search ]