NET/MASTER Network Control Language (NCL) Programmer's Guide
Obtaining Input From a Panel
Working With Panels
14–66 106160 Tandem Computers Incorporated
While using generic keys to perform generic operations is transparent to NCL
processes that invoke full-screen panels, this may not always be desirable. You may
want your NCL process to intercept all function keys and invoke alternative functions.
Table 14-9 lists the options of the CONTROL verb that allow you to control the
handling of function keys that perform a generic function.
Table 14-9. Generic Function Key Interception
Operand Description
PFKSTD Passes both generic and nongeneric function keys to the NCL process for processing.
This option stops some function key interception. The END and RETURN functions are
not available unless your NCL process issues the X or RETURN command, respectively,
when it detects that the appropriate function key has been pressed. The SPLIT and
SWAP functions are still available by pressing the appropriate function key.
PFKALL Passes all function keys to the NCL process for processing. This option stops all
function key interception. The END, RETURN, SPLIT, and SWAP functions are not
available unless your NCL process issues the X, RETURN, SPLIT, or SWAP command,
respectively, when it detects that the appropriate function key has been pressed.
NOPFK This is the default. Passes only nongeneric function keys to the NCL process for
processing. This returns PFKSTD or PFKALL to standard operation. The END,
RETURN, SPLIT, and SWAP functions perform their normal functions. The NCL process
can use the PANEL_END error handler to trap the END function and the
PANEL_RETURN error handler to trap the RETURN function, if required.
Mapping IBM 3270 or Compatible Terminal Upper-Row Function Keys to Lower-Row Function
Keys
The CONTROL verb allows to you control the mapping of IBM 3270 or compatible
terminal upper-row program function (PF) keys (PF13 through PF24) to lower-row
function keys (PF01 through PF12). There are two cases when the system variable
&SYS.INKEY contains an upper-row function key value:
When an upper-row function key is pressed on an IBM 3270 or compatible
terminal.
When you are using the CONTROL PFK3270 verb to translate the value of a key
pressed on a Tandem 6530 or compatible terminal to an upper-row function key
equivalent on an IBM 3270 or compatible terminal. Table 14-7, earlier in this
section, lists the keyboard mapping for CONTROL PFK3270.