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 |
|---|---|---|
| 0 | Terminate ACCEPT | None |
| 1 | Terminate program | Ctrl+K |
| 2 | Carriage return | Enter |
| 3 | Cursor left | Cursor Left |
| 4 | Cursor right | Cursor Right |
| 5 | Cursor up | Cursor Up |
| 6 | Cursor down | Cursor Down |
| 7 | Home | Home |
| 8 | Tab | Tab |
| 9 | Backtab | Backtab |
| 10 | End | End |
| 11 | Next field | None |
| 12 | Previous field | None |
| 13 | Change case | Ctrl+F |
| 14 | Erase character | Backspace |
| 15 | Retype character | Ctrl+Y |
| 16 | Insert character | Ctrl+O |
| 17 | Delete character | Del |
| 18 | Restore character | Ctrl+R |
| 19 | Clear to end of field | Ctrl+Z |
| 20 | Clear field | Ctrl+X |
| 21 | Clear to end of screen | Ctrl+End |
| 22 | Clear screen | Ctrl+Home |
| 23 | Set Insert mode | Insert |
| 24 | Set Replace mode | None |
| 25 | Reset field | Ctrl+A |
| 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.