CRTCLPGM PGM(TCPLIB/CHGKBD) SRCFILE(TCPLIB/QCLSRC)
TEXT('Change the keyboard mapping for 327x terminals')
The CHGKBD program can then be called by anyone using Telnet to an AS/400
system. It can also be called automatically at sign-on time by specifying the
CHGKBD program for the Initial program parameter on the CHGUSRPRF command
or the CHGKBD program can be called by the profile’s initial program.
PA1 and PA2 Keys on a PC Keyboard:
The PA1 and PA2 keys do not appear on
a PC keyboard. The function of these 3270 keys on a PC keyboard is provided by a
keyboard mapping in your 3270 emulator.
These keys are used by the default 3270 Telnet keyboard mapping, so it is
important that you know where these keys are on the keyboard before starting a
3270 Telnet session. This is especially important if you are planning to start a
session without changing the keyboard mapping. You should refer to your emulator
documentation for the keys or keystrokes required to provide these functions.
There are some 5250 key sequences for which there is no supported 3270 key
sequence and, therefore, it is not possible to set using the keyboard mapping
commands. These key sequences are:
v Field Plus
v Field Minus
v Erase all input fields
The 5250 Field Exit Key function is performed on a 3270 keyboard using the Erase
EOF key and then the tab key.
Note: When using Telnet 3270 full-screen mode from the 3270 terminal and before
the default mapping for the terminal is changed, the keys PF1 to PF12 might
be emulated by the key sequence PA1 PFx. Prior to creating a new
keyboard map, as in the previous example, instructions like Press PF3 or
Press PF4 should read: Press PA1 PF3 and Press PA1 PF4. In this case,
depending on the installation of the Telnet client for the host (VM Telnet client
for example), when pressing PA1 the user might get the instruction TELNET
command: at the bottom line of the display. If this instruction is displayed, then
type: PA1, press the Enter key, move the cursor to the command line and
press the desired PF key. In this case PF1 to PF12 might be emulated by:
1. Press PA1, get the Telnet instruction TELNET command:
2. Type PA1, press the Enter key.
3. Move the cursor to the command line.
4. Press the desired PF key.
For additional keyboard mapping information, see Appendix D. TELNET 3270
Keyboard Mappings.
Note: The Host Command Facility (HCF) is a feature available on System/370,
43xx, and 30xx host systems that enables a user on the host system to use
applications on an AS/400 system or other systems as if they were using
remotely attached 5250-type display stations. If you use HCF to connect to
an AS/400 system and then use Telnet to sign on to another AS/400 system
from that AS/400 system, you are in a 3270 full-screen mode session. The
keyboard is mapped twice, once for the initial HCF session and once for the
Telnet session. To use your PF keys the way you normally would, you must
194 OS/400 TCP/IP Configuration and Reference V4R4