z/OS ISPF User's Guide Vol I
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Saving function key definitions

z/OS ISPF User's Guide Vol I
SC19-3627-00

This topic applies only if you created your application panels using the ISPF panel definition statements and used the ZKEYS command or selected the "Global PF Key settings" choice from the Function keys pull-down on the ISPF Settings panel. It does not apply for keys defined with the KEYLIST command or through the "Keylist settings" choice from the Function keys pull-down on the ISPF Settings panel.

Function key definitions are kept in a set of system variables named ZPF01, ZPF02, ... ZPF24. Labels are kept in a set of system variables named ZPFL01, ZPFL02, ... ZPFL24.

When you set the "Primary range" field on the Tailor Function Key Definition Display panel to Upper - 13 to 24, variables ZPF13-ZPF24 and ZPFL13-ZPFL24 contain the primary PF key definitions and labels. For 24-key terminals, these definitions correspond to physical keys 13-24. For 12-key terminals, these definitions correspond to physical keys 1-12. Variables ZPF01-ZPF12 contain the alternate key definitions, and are meaningful only for terminals with 24 function keys.

When you set the "Primary range" field on the Tailor Function Key Definition Display panel to Lower - 1 to 12, variables ZPF01-ZPF12 and ZPFL01-ZPFL12 contain the primary PF key definitions and labels. For 24-key terminals, these definitions correspond to physical keys 1-12. For 12-key terminals, these definitions correspond to physical keys 1-12. Variables ZPF13-ZPF24 contain the alternate key definitions and are meaningful only for terminals with 24 function keys.

Current values for all 24 keys (variables ZPF01-ZPF24 and ZPFL01-ZPFL24) are kept in the application profile. Hence, unique function key definitions can be associated with different applications.

An application can provide default function key settings for a new user by providing a default profile. An application can prevent the user from changing the default function key settings by overriding the ZKEYS command. It does this by assigning the command to NOP in the application command table.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014