There are 28 enhanced ACCEPT/DISPLAY syntax keys (numbered 0 through 27). Each key is mapped onto a function, so that when a key is pressed, it performs the function it has been mapped to.
You must also be aware that the enhanced ACCEPT/DISPLAY syntax keys themselves are given names. However, this name is used to distinguish the different keys; it might not necessarily describe the function the key actually performs. The following list gives the names of the keys and the keystrokes required to obtain them. You might have a different configuration for your environment.
|Key No.||Function||Default Key/Keystroke|
|3||Cursor left||Cursor Left|
|4||Cursor right||Cursor Right|
|5||Cursor up||Cursor Up|
|6||Cursor down||Cursor Down|
|19||Clear to end of field||Ctrl+Z|
|21||Clear to end of screen||Ctrl+End|
|23||Set Insert mode||Insert|
|24||Set Replace mode||None|
|26||Start of field||None|
|27||Move to mouse position||None|
The carriage return (CR) key is referred to here as the Enter key. On some keyboards, there is a CR key and an Enter key. In this case, the enhanced ACCEPT/DISPLAY syntax carriage return key should be set up as CR and the enhanced ACCEPT/DISPLAY syntax key "Terminate Accept" should be set up as Enter.