PA() action

In 3270 mode, the PA action emulates one of the 3 Program Access (PA) keys on the 3270 keyboard. It sends a PA AID to the host and waits for the host to unlock the keyboard before returning.

In NVT mode, it emulates an xterm PF key, sending the corresponding escape sequence to the host:

Note that if you want to use PA to interrupt a running program, you might need to invoke the Reset action first, to clear any pending wait condition. Otherwise, the PA may end up in the typeahead buffer.

Parameters

 * n
 * The PA key number, from 1 to 3 (3270 mode) or 1 to 4 (NVT mode)

Examples
PA(1) PA(2)

Default keymap
how to read keymap tables