The following topics are covered:
In Natural, function keys serve to transfer data together with specific command/execution information to a program.
As current Siemens terminal device types only support the keys
F1 to F5, the programmable P keys (P1 to
P20) are used for this purpose. This means that these keys are
assigned the function key values
PF20 (in 3270
The identification of the key pressed is made from Natural-loaded key assignments in connection with the send-key code F5. This allows the distinction of similar data types which were sent using DUE1. Using F5, Natural recognizes the function-key resolution and interprets the P-key value as a code. In the other instance the data are transferred to the executing program.
The loading of keys is controlled by terminal commands or from the
executing program using
There are three types of modes for key assignment:
For terminal types 9756, 9758, 976n,
KS mode, a dummy field is generated in the last two
terminal positions of each output message. This field is used for receiving and
transferring the key value. Prior to data transfer the cursor is moved in this
field using the movement functions assigned to the keys.
N is specified after the respective terminal command
only the corresponding function-key mode is activated, but no values are loaded
to the P keys.
For all modes, cursor-position-dependent key processing, according to current assignment, can lead to differing results. For example, the help key, dependent on field assignment, can invoke either the global or local help processing for a particular field. Such functions should be controlled using PF21 to PF23 interpreted keys (F1 to F3).