Previous Topic: User Profile Default Values

Next Topic: Setting Up the Alert Function in AS/400


Creating the 3270 Keyboard Map Routine in AS/400

Note: Creating a 3270 keyboard map is necessary only if you choose your AS/400 sessions to be type TN3270. If you choose TN5250, this step is not necessary.

To use the PF keys on AS/400, create a keyboard map routine for each AS/400 system that AS/400 Manager will control. The keyboard map routine is a CL program that must be compiled and must reside in your library list.

PGM CHGKBDMAP  PF1(*F1) PF2(*F2) PF3(*F3) PF4(*F4) PF5(*F5) +
             MONMSG MSGID (CPF8701 CPF0000)
             PF6(*F6) PF7(*DOWN) PF8(*UP) PF9(*F9) +  
             PF10(*F10) PF11(*F11) PF12(*F12) +       
             PF13(*F13) PF14(*F14) PF15(*F15) +       
             PF16(*F16) PF17(*F17) PF18(*F18) +       
             PF19(*F19) PF20(*F20) PF21(*F21) +       
             PF22(*F22) PF23(*F23) PF24(*F24) +       
             PA1PF1(*HELP) PA1PF2(*HLP3270) +         
             PA1PF12(*SYSREQ)                         
ENDPGM                                                

Name the CL program KBD3270. The sample initialization scripts for AS/400 Manager call the program using the KBD3270 name when the application starts.

Note: The KBD3270 program must properly map the PF keys on the AS/400 system for the AS/400 Manager to function properly. Contact your AS/400 administrator if you have any problems with the KBD3270 program.