To insert additional lines on this panel:
The FIELD definition region includes two lines of attributes for each occurrence. The attributes are described next.
----------------------------------------------------------------------------- Level Field-Name DB Element-Name Preci Type Len Repeat Just Rdf Null Fill (Num:Sign Type Dec) ====== == ======== ================== T O P ======= ===== ==================== 000001 1 ORD-ID 00005 N 00005 00001 R N N Y C 000
First Line of Attributes
The following attributes are on the first line of attributes for each FIELD occurrence.
(Required) Specify the level of the FIELD occurrence. CA Datacom Datadictionary uses your entry to assign the CLASS attribute-value of the field.
For more information about entering values in this field. see the CLASS attribute-type for FIELD occurrences in the CA Datacom Datadictionary Attribute Reference Guide.
Note: SQL statements can access simple fields only. A simple field is any field that is not the parent of a subordinate level of fields, a value field, an index field, or a filler field (see Fill Add FIELD Occurrences).
1 Simple field or Compound field
2—99 Occurrence level within a compound field
V Value field
I Index field
(No default)
(Required) Specify the CA Datacom Datadictionary name of the FIELD occurrence.
1- to 32-character occurrence name
(No default)
(Optional) Specify a DATACOM name to create an element which contains only this field. You can use this attribute only when you initially define the FIELD occurrences for a table. For more information about the DATACOM-NAME attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
1-5 characters
(No default)
Second Line of Attributes
The following attributes are on the second line of attributes for each FIELD occurrence.
(Required) Specify the maximum number of displayable digits allowed for data stored in fields whose TYPE is D (decimal), G (graphic), N (numeric), V (varchar), or W (vargraphic).
For more information about the PRECISION attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
5 characters
D = 2x LENGTH minus 1
G = LENGTH
N = LENGTH
V = LENGTH minus 2
W = (LENGTH minus 2) divided by 2
(Optional) Identify the type of data stored in the FIELD occurrence. There are special considerations for attributes if you are using SQL. For more information about, the TYPE attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
B, C, D, E, G, H, K, L, N, S, T, V, W, Y, Z, 2, 4, or 8
C
(Optional) Specify the physical length in bytes of the field. For more information about the LENGTH attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
1-5 digits
1
(Optional) Specify if this is a repeating field.
During SQL processing, repeating fields are handled as one large character field. For more information about the, REPEAT attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
Number of repetitions
1
(Optional) This attribute-value specifies if the data is stored left (L) or right (R) justified.
If you are defining a TABLE substructure for SQL processing, always use the default value. For more information about the JUSTIFICATION attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
L, R
L (left) for Types C, G, H, K, T, V, W, Y, and Z
R (right) for Types B, D, E, L, N, S, 2, 4, and 8
(Optional) Specify if this field redefines another field.
Redefines cannot be accessed with SQL processing. For more information about the REDEFINES attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
N, P, or S
N
(Optional) Specify if a 1-byte null indicator is to precede this field. The null indicator can create extra slack if the fields are aligned.
For more information about the NULL-INDICATOR attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
Y or N
N
(Optional) Specify if the field is a filler field. If you enter Y (yes), CA Datacom Datadictionary assigns F as the attribute-value of the CLASS attribute-type. If the FIELD occurrence is not a filler, leave this attribute-type blank.
Y
(No default)
The three attributes following NUM: within the parentheses are for numeric fields (types B, D, E, L, N, S, 2, 4, or 8). Leave these attributes blank if the field type is not numeric.
(Optional) Specify if the field contains signed numeric data (Y) or unsigned data (N). For more information about the SIGN attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
Y or N
Y
(Optional) If the field is signed numeric, specify the signing convention for the field.
For more information about the TYPE-NUMERIC attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
C Conventional
P Conventional, always positive
U Unconventional
Q Unconventional, always positive
C
(Optional) Specify the number of decimal positions for a numeric field with an implied decimal point.
For more information about the DECIMALS attribute-type for FIELD occurrences, see the CA Datacom Datadictionary Attribute Reference Guide.
Number of decimal positions
0
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|