Using ACCEPT and DISPLAY Statements for Input/Output and Video Forms
11.2 Designing Video Forms with ACCEPT and DISPLAY Statement Extensions
Table 11–2 (Cont.) Compaq COBOL Characters Returned for Cursor
Positioning, Program Function, Function, Keypad, and
Keyboard Keys
Characters Returned in the Data
Name Specified by CONTROL KEY IN
Key Name
Keypad or Keyboard
Name
First
1
Remaining (Notes)
Keypad
4
SS3
t
Keypad
5
SS3
u
Keypad
6
SS3
v
Keypad
7
SS3
w
Keypad
8
SS3
x
Keypad
9
SS3
y
Keypad
-
SS3
m
Keypad
,
SS3
l
Keypad
.
SS3
n
Keypad
ENTER
SS3
M
Keypad
FIND
CSI
1~
Keypad
INSERT HERE
CSI
2~
Keypad
REMOVE
CSI
3~
Keypad
SELECT
CSI
4~
Keypad
PREV SCREEN
CSI
5~
Keypad
NEXT SCREEN
CSI
6~
Tab
Tab
9
Return
Return
13
Function key
HOLD SCREEN
Not Available
Function key
PRINT SCREEN
Not Available
Function key
SET-UP
Not Available
Function key
DATA/TALK
Not Available
Function key
BREAK
Not Available
Function key
F6
2
CSI
17~
Function key
F7
CSI
18~
Function key
F8
CSI
19~
Function key
F9
CSI
20~
Function key
F10
CSI
21~
Function key
F11 (ESC)
CSI
23~
Function key
F12 (BS)
CSI
24~
Function key
F13 (LF)
CSI
25~
Function key
F14
CSI
26~
1
The CSI and SS3 characters are shown for your information only. You need not check for their
presence because the remaining characters are unique and need no qualification.
2
For F6, you must have specified $ SET TERMINAL/NOLINE_EDITING before running your
program.
(continued on next page)
Using ACCEPT and DISPLAY Statements for Input/Output and Video Forms 11–21