As a general rule, the last output operation determines which function keys
are valid. However, the following are exceptions to this rule:
- When an operation sends no data to the display, the validity of various
function keys is not changed. Such operations include:
- An output operation to a subfile record
- An update to a subfile record
- An output operation to a subfile control record that only clears, deletes,
or initializes a subfile without displaying the subfile or the subfile control
record
- An output operation that displays an error message by selecting ERRMSG
(Error Message) or ERRMSGID (Error Message ID) can also select a CA or CF key
to be valid while the error message is displayed.
- If MNUCNL (Menu Cancel), MNUBARSW (Menu Bar Switch), or SFLDROP (Subfile
Drop) is specified for a subfile, the validity of the CA or CF key specified
for the SFLDROP keyword is determined by the last output operation.
However, as long as the subfile is displayed, the CA or CF key, when valid,
acts only as a Drop key.
- If SFLFOLD (Subfile Fold) is specified for a subfile, the validity of the
CA or CF key specified for the SFLFOLD keyword is determined by the last
output operation. However, as long as the subfile is displayed, the CA
or CF key, when valid, acts only as a Fold key.
- If two subfiles using SFLDROP or SFLFOLD are displayed at one time, the
same function key should be specified on both the SFLDROP and SFLFOLD
keywords. If they are different, only the key specified for the most
recently displayed subfile is in effect. Pressing the function key
affects the subfile containing the cursor. If the cursor is not
positioned in a subfile, the function key affects the upper subfile.
- If two subfiles using SFLENTER (Subfile Enter) are displayed at the same
time, the only CA or CF key in effect as an Enter key is the CA or CF key
specified for the SFLENTER keyword on the most recently displayed
subfile. The cursor position at the time the Enter key is pressed
determines which subfile is affected.
- Note:
- The following keywords function like CA keys: CLEAR, HELP, HOME, and
PRINT (with response indicator specified).
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.