File Name | DC@F03 |
|---|---|
Description | Field Definition file. |
Implemented in: | 4.00 / D3 |
LANSA for i Library | <<dtalib>> |
Required for Run Only System? | Yes |
Logical Views
Name | Use | Keys/Description/Comments |
|---|---|---|
DC@F03V1 | Read | F03P#I,F03FLD (unique). |
DC@F03V2 | Update | Same as DC@F03V1. |
DC@F03V3 | Read | F03P#I,F03REF. |
DC@F03V4 | Update | Same as DC@F03V3. |
DC@F03V5 | Read | F03P#I,F03ALS. |
DC@F03V6 | Update | Same as DC@F03V5. |
DC@F03V7 | Read | F03FLD,F03P#I. |
DC@F03V8 | Update | Same as DC@F03V7. |
DC@F03V9 | Read | F03P#I,F03DES,F03FLD |
Record Layout
Field Name | Type | Len | Dec | Description / Comments / Values |
|---|---|---|---|---|
F03FLD | A | 10 | Field name | |
F03DES | A | 40 | Field description | |
F03TYP | A | 1 | Field type | |
F03LEN | P | 3 | 0 | Field length. If zero length, the actual length is greater than 999 and is stored in F03UDT |
F03DEC | P | 1 | 0 | Number of decimals. If –1 the actual number is greater than 9 and is stored in F03UDT |
F03LBL | A | 15 | Field label | |
F03CH1 | A | 20 | Column heading 1 | |
F03CH2 | A | 20 | Column heading 2 | |
F03CH3 | A | 20 | Column heading 3 | |
F03REF | A | 10 | Reference name | |
F03IAT | A | 40 | Input attributes list | |
F03OAT | A | 40 | Output attributes list | |
F03EDC | A | 1 | Edit code | |
F03EDW | A | 24 | Edit word | |
F03DFT | A | 20 | Default value | |
F03HLP | A | 10 | Pointer to help text | |
F03ALS | A | 30 | Alias name | |
F03UDT | A | 200 | Additional information area | |
F03P#I | A | 3 | Partition Identifier |
F03UDT Layout
Note the ‘C’ convention of offsets is used here, i.e. the first byte of the field is offset zero. Offset 100 onwards maps to field X03SP1 in LX_F03.
Offset | Description | Type | Default | Comment |
|---|---|---|---|---|
0 | System field | A 1 | Blank | Y = System Field Else N or blank |
1 | Prompt process | A 10 | Blank | |
11 | Prompt function | A 7 | Blank | |
18 | Key board shift | A 1 | Blank | |
19 | ‘C’ type | A 1 | Blank | The type used on PCs L = Long, C = char, etc. |
20 | Field length | P 11,0 | 0 | If a RDMLX field and F03LEN is zero, the length is stored here. |
26 | Number of decimals | P 5,0 | 0 | If a RDMLX field and F03DEC is –1, the number of decimals is stored here. |
100 | Component compile status | A 1 | 0 | Values 0 to 8 which determines the build status comment in the field control window |
101 | Compile date | A 6 | ||
107 | Compile time | A 6 | ||
113 | Meta class | A 5 | This may be blank if created in LANSA for i, or a 5 digit number if created in Visual LANSA. It is used to identify the type of component. | |
118 | Visual Style | A 5 | This may be blank, or a 5 digit number associated with a particular type of Visual LANSA component. | |
123 | Imbedded SQL used | A 1 | Visual LANSA component uses imbedded SQL | |
124 | Count of routines | A 4 | ||
128 | RDMLX flag | A 1 | ‘1’ = RDMLX | |
129 | CCSID | A 5 | -0001 | Default CCSID |
130 | Native Field Length | A 10 | -000000001 |