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.

Note:
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.

Notes:

  1. Assignments made with the profile parameter KEY are only valid when specified from within the Natural direct command window.
  2. 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=OFF
KEY PF4=OFF 
KEY PF3="EDIT MAP" 
KEY CLR=LOGOFF 
KEY OFF