
6 Control Number
| Option | Choice | Value |
|---|---|---|
| Write Inhibit | No Inhibit Write Inhibit | 0 1 |
| Item Type | Default Date type Currency Type Undefined Type | 0 2 4 6 |
| Numeric Spacing | Default Comma Every 3 Digits | 0 8 |
| Digits Right Of Decimal Point | Default 0 digits 1 digits 2 digits 3 digits 4 digits 5 digits 6 digits | 0 16 32 48 64 80 96 112 |
To find the control number, one value from each option is selected and the values are summed.
For example the data base item TEST-HOURS may be specified as:
| 2 Digits Right Of Decimal Point | +48 |
| Comma Every 3 Digits | +8 |
| Default Type | +0 |
| QUERY Write Inhibit | +1 |
| Control Number | 57 |
Then in the schema this item is: TEST_HOURS L(57);
WRITE INHIBIT specifies whether or not an operator can make changes to this data item using QUERY-
ITEM TYPE specifies a particular format.
Digits Right of Decimal Point specifies the number of digits to the right of decimal point to be output. If 5 digits are specified, the number 3.45 is output as 3.45000, and the number 3.451236 is output as 3.45124.