CRT Status Key 2
The next two bytes of data-name-2 form CRT Status Key 2, and contain a code giving further details of the condition that terminated the ACCEPT operation. Its format and possible values depend on the value in CRT Status Key 1, as shown in the following table.
| KEY 1 | KEY 2 | Meaning | |
|---|---|---|---|
| Format | Value | ||
| 0 | PIC 99 | 0 | The operator pressed a terminating key |
| 0 | PIC 99 | 1 | Auto skip from the last field1 |
| 1 | PIC 99 | 1-24 | The function key number |
| 9 | PIC 99 | 0 | Error condition (no items fall within the screen) |
Note: 1 When auto skip from the last field takes place, the value
of 1 for CRT STATUS KEY 2 is returned to supported controllers, and the value
of 0 is returned to those controllers not supported. This relationship
is shown in Table 2.
|
|||
| Type of Controller | Auto Skip Value of 1 Returned |
|---|---|
IBM® i controllers: |
Yes |
PC attachments: |
No |
System to system passthru: |
Yes |