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:
PA() parameter | Escape sequence |
---|---|
1 | Esc O P |
2 | Esc O Q |
3 | Esc O R |
4 | Esc O S |
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
Examples
PA(1) PA(2)
Default keymap
Mode | x3270 | c3270 | wc3270 | wx3270 |
---|---|---|---|---|
3270 | Alt-1 Alt-2 Alt-3 |
Ctrl-a + 1 Ctrl-a + 2 Ctrl-a + 3 |
Alt-1 Alt-2 Alt-3 |
Alt-1 Alt-2 Alt-3 |
NVT | Alt-1 Alt-2 Alt-3 |
Ctrl-a + 1 Ctrl-a + 2 Ctrl-a + 3 |
Alt-1 Alt-2 Alt-3 |
Alt-1 Alt-2 Alt-3 |