HP-UX TN3270 Users Guide, March 1998

Table Of Contents
Chapter 3 89
Getting Started with 3270 Emulation
Keystroke Recording and Replay
Recording a Keystroke Sequence
Use the following steps to record a key sequence:
Step 1. Press the RECORD key (default keystroke Esc S).
The status line changes to display the message RECORD
PF KEY, as shown in the following example. It may also display a list of
numbers enclosed in parentheses; these are the numbers of the PF keys
that already have key sequences associated with them.
RECORD PF KEY (1 4 11 12 15 21)
Step 2. To continue keystroke recording, press any PF key (PF1–PF24) to
identify the sequence to record. The default keystrokes are F1F12 for
PF1–PF12, and Esc F1Esc F12 for PF13–PF24. Alternatively, to abandon
keystroke recording without specifying a PF key, press either RECORD
(default keystroke Esc S) or QUIT (default keystroke Ctrl + T) to return to
normal 3270 emulation.
If you selected a PF key, the status line returns to normal and displays
RECORD nn, where nn is the PF key number you selected. If this PF key
was already assigned to a keystroke sequence, a beep sounds to warn you
(unless you turned off the “Enable emulator beep” option in the
Customize Miscellaneous Options dialog box). To avoid overwriting the
existing sequence, press QUIT (default keystroke Ctrl + T), which
abandons keystroke recording and leaves the existing sequence
unchanged.
Step 3. Type the keystrokes to record. You can use any of the keys in the
Program Function, Program Access, 3270 System, Edit, and Characters
key groups. Other keys, which perform local functions such as
TEMPEXIT or REDRAW rather than host functions, can be entered but
are not recorded. For more information, see “Valid Keystrokes for
Recorded Sequences”.
The first keystroke in the sequence must not be a DELETE keystroke,
because it is used to clear the recorded sequence. For more information,
see “Clearing a Recorded Keystroke Sequence”. Also, if the first
keystroke is the RECORD key, recording stops; the PF key is still
marked as having a sequence assigned to it, but the sequence does not
contain any keystrokes.