Table F-7 shows the contents of the COL structure. The first five full words are reserved for use by the Replication Extract.
Attribute |
Length (Bytes) |
Contents |
---|---|---|
@COL |
20 |
Reserved. |
@COL_LENGTH |
2 |
The length of the column as defined in the table in binary. |
@COL_COLNO |
2 |
The column sequence within the table in binary. The first column number must be 1. |
@COL_SCALE |
2 |
The number of decimal places in a numeric field containing a decimal in binary. |
@COL_KEYSEQ |
2 |
The sequence of this column in the table key represented in binary. The value is null (X'00') if it is not part of the key (reserved). |
@COL_NAME_LENGTH |
4 |
The binary length of the column name. |
@COL_NAME |
18 |
The name of the column, which is not null-terminated. |
@COL_TYPE |
1 |
The type of the column. Valid values are:
|
@COL_FLAG |
1 |
Valid values for column flags are:
|
@COL_MIXED |
Indicates column contains mixed data. |
|
@COL_SINGLE |
Indicates column contains single-byte data. |
|
@COL_FORBIT |
Indicates column contains binary data. |