Strovent SystemsSign in
Reference

x3270 and c3270 status line, X Wait, X [Field] and Not Connected

What the X messages at the bottom of x3270, c3270 and wc3270 mean, such as X Wait, X [Field] and X Not Connected, and how to read the exact lock reason.

x3270, c3270 and wc3270 write the keyboard state in the bottom line of the window. An X means the keyboard is locked, and the text after it says why. The names below are the ones in the x3270 documentation. Other 3270 clients, including the IBM standard ones, use different words for similar conditions. See 3270 status indicators for the IBM list.

Messages after the X

  • X Not Connected: No host session.
  • X [DNS]: Waiting for name resolution to complete.
  • X [TCP]: Waiting for the TCP connection to complete.
  • X [TELNET]: Waiting for Telnet negotiation to complete.
  • X [TN3270E]: Waiting for TN3270E negotiation to complete.
  • X [Proxy]: Waiting for proxy negotiation to complete.
  • X [Field]: Waiting for the host to format the screen, that is, to create an input field.
  • X Reconnecting: A reconnect is in progress.
  • X Wait: Waiting for the host to unlock the keyboard.
  • X SYSTEM: The command was acknowledged. Waiting for the host to unlock the keyboard.
  • X alone: A keyboard unlock delay is active.
  • X Scrolled n: The display is scrolled back.
  • X Protected: You tried to change a protected field.
  • X Overflow: You tried to insert into a full field.
  • X NUM: You typed a non-numeric character into a numeric field.
  • X -f: The AID key is not valid in the current mode.
  • X Disabled: The keyboard is disabled while a script is running.

Wait versus the connection steps

The messages in square brackets, [DNS], [TCP], [TELNET], [TN3270E] and [Proxy], show the connection getting set up. If one stays on screen, the connection is still at that step. The Telnet and TN3270E steps are the ones described in TN3270E negotiation.

X [Field] comes after that. The connection is up, and the emulator is waiting for the host to send a screen with an input field.

X Wait and X SYSTEM are about the host. You pressed an AID key such as Enter, and the host has not yet unlocked the keyboard. The host application may simply be slow. In X SYSTEM, the wiki says the command was acknowledged and the client is waiting for the host to unlock the keyboard.

Find the exact reason

The c3270 and x3270 Query(KeyboardLockDetail) action prints the flags for the current lock on one line. If the keyboard is not locked, it prints nothing. Some of the flags:

  • not-connected: No connection to the host.
  • awaiting-first: Waiting for the first output from the host (X [Field]).
  • oia-twait: An AID was sent. Waiting for a reset from the host (X Wait or X SYSTEM).
  • deferred-unlock: A delay after the host unlocked the keyboard.
  • scrolled: The display is scrolled back.
  • oia-minus: Invalid SSCP-LU or ATTN AID (X -f).
  • ft: A file transfer is in progress.
  • bid: Blocked by a contention-resolution BID operation.

The bid flag is in the same list. The wiki does not say more about it than that.

What to do

  • For a connection step in brackets, check the host name and port, and the network. See Cannot connect.
  • For X Wait or X SYSTEM, the host has to unlock the keyboard, so give it a moment. To unlock a keyboard that stays locked, see Keyboard locked.
  • For X Protected, X Overflow and X NUM, the cause is your input. Move to an input field.
  • X Scrolled n only means the display is scrolled back. It is not a host problem.

Sources

See also

Spotted a mistake? Email [email protected].