Use this position to specify the data type associated with the field.
Entry | Meaning |
---|---|
S | Zoned decimal |
A | Character |
F | Floating point |
L | Date |
T | Time |
Z | Timestamp |
Figure 1 shows how to code the data type.
The significand sign is not printed for a positive value. The number of digits in the significand is determined by the length specified (positions 30 through 34). The location of the decimal point or the comma is determined by the decimal positions specified (positions 36 and 37). The exponent character and the exponent sign are always printed. The exponent is always 3 digits.
The printed length for a floating-point field is 7 positions greater than the length specified in positions 30 through 34. The 7 extra positions are for (a) the significand sign, (b) the decimal point or comma, (c) the exponent character, (d) the exponent sign, and (e) the 3 exponent digits.
Fields that specify these data types are treated as alphanumeric data when printed. It is up to the application program to provide the data in the correct format and length according to the data type and keywords specified for these fields.
Blank is the only supported value for decimal positions (DDS positions 36 and 37).
Zero suppression is not supported for these data types. EDTCDE and EDTWRD keywords are not valid and the i5/OS operating system does not perform zero suppression by default as it does for signed-numeric fields.
The following field level keywords are not allowed with these data types.
BARCODE | FLTFIXDEC |
BLKFOLD | FLTPCN |
DATE | IGCCDEFNT |
DFT | IGCCHRRTT |
EDTCDE | MSGCON |
EDTWRD | PAGNBR |
TIME |