Strovent SystemsSign in
Reference

3270, 5250 or VT: which terminal type do I need?

Match the host to the terminal type, with clues to use when you only have a host name and a port.

The terminal type follows the system you connect to, not the network or the device you use.

  • IBM Z mainframe: z/OS, z/VM, z/VSE (TSO, ISPF, CICS, IMS): 3270, over TN3270 or TN3270E.
  • IBM i (also called AS/400, iSeries, System i): 5250, over TN5250.
  • Linux, Unix, BSD, OpenVMS, network devices: VT, over SSH, Mosh or Telnet.
  • A shell on z/OS UNIX or IBM i PASE, reached by SSH: VT, over SSH.

The last row matters because both IBM systems also run SSH. SSH gives you their Unix-style shell, while the TSO, ISPF, CICS or 5250 menu applications still need a 3270 or 5250 session.

When you only have a host name and port

  • Port 22 is SSH, so the terminal is VT.
  • Port 23 or 992 is Telnet, or Telnet over TLS. All three types use it, so the port alone does not tell you. Ask which system it is, or look at the first screen.
  • Any other port can be any of them. Many hosts run 3270, 5250 or VT services on extra ports.

Clues on the first screen

  • IBM i shows a Sign On screen with User and Password fields, and often the system, subsystem and display (device) names in the top right corner.
  • A mainframe often shows a site welcome screen or a prompt for an application name first, then the TSO or CICS sign-on. These are 3270 screens with PF key hints.
  • A Unix-style host shows a login: or password prompt, then a shell prompt such as $.

Clues in what you were told

If your instructions mention a terminal type name, it gives the answer away:

  • IBM-3278-2, IBM-3279, "model 2", LU name, PF keys or PA1: 3270.
  • IBM-3179-2, IBM-3477-FC, device name, QPADEV, Field Exit, F1 to F24 with Roll Up: 5250.
  • xterm, vt100, vt220, TERM, a shell or SSH keys: VT.

Signs you picked the wrong one

  • VT client to a mainframe: no full-screen panels. The z/OS Telnet server offers only TN3270E, TN3270 or line mode.
  • VT client to IBM i: it may work, because IBM i supports VT100 and VT220 clients, but function keys become escape sequences and IBM does not recommend it.
  • 3270 client to IBM i: it connects, but F-keys need PA1 or PA2 first and PF4 prints. See Using a 3270 emulator on IBM i.

IBM i documentation names 5250 as the preferred emulation for its Telnet server.

Sources

Spotted a mistake? Email [email protected].