Specify the keyboard shift to limit what the user can type into a field.
Note - V11 SP5 onwards:
Valid keyboard shift values are based on 1.1 Field Types.
Allowable values are:
Keyboard shift | Meaning | Data Type Allowed |
|---|---|---|
A | Alpha shift | Alpha |
Blank | Alpha / Numeric | |
D | Digits only 0 - 9 | Alpha/Numeric |
I | Inhibit entry (no keyboard entry allowed) | Alpha/Numeric |
M | Numeric keys | 0 - 9, plus, minus, comma, dash, space, period |
N | Numeric shift | Alpha / Numeric |
S | Signed numeric | Numeric |
W | Katakana (for Japan only) | Alpha |
X | Alphabetic only | Alpha. A - Z, comma, period, dash, space |
Y | Numeric only | Numeric |
Additional rules are:
IBM i: The IBM i DBCS or IGC data types J, E & O have been implemented as the Alpha LANSA data type with LANSA keyboard shift J, E & O respectively.
J | Alpha, Used for DBCS only. |
E | Alpha. Used for all DBCS characters or all SBCS characters. Both DBCS and SBCS are not allowed in the same field. |
O | Alpha. Used for mixed DBCS and SBCS |
1.1.1 Field Type Considerations