Version 4.2.6 for Mainframes
 —  Parameter Reference  —

KEY - Setting Assignments to PA, PF and CLEAR Keys

This Natural profile parameter is used to assign settings to the CLEAR key, program attention keys (PA keys) and program function keys (PF keys) on video terminals.

Possible settings any character string

Settings can be assigned to the keys PA1 to PA3, PF1 to PF24 and to the CLEAR key.

The setting assigned to each key can be any character string. The character string must represent a Natural system command or a user command (user program). If the setting contains embedded blanks, it must be enclosed in apostrophes.

Default setting none  
Dynamic specification no  
Specification within session yes  
Application Programming Interface USR4005N See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.

Assignments made with the profile parameter KEY are only valid from the Natural NEXT prompt.

The entire string specified with the profile parameter KEY must be enclosed in parentheses (except KEY=OFF). KEY=OFF un-assigns all keys.

Examples:

KEY=(PF4=OFF,PF1=HELP,PF3='EDIT MAP',PF2=USERPGM1,CLR=LOGOFF)
KEY=OFF
KEY PF4=OFF 
KEY PF3="EDIT MAP" 
KEY CLR=LOGOFF 
KEY OFF

Top of page