Oracle® Database Gateway for Adabas User's Guide 11g Release 2 (11.2) Part Number E12074-01 |
|
|
PDF · Mobi · ePub |
This appendix contains the following section:
The gateway converts Predict metadata data types in the advanced data dictionary (ADD) to Oracle data types as described in Table A-1.
ADD Data Type | Oracle Data Type | Details |
---|---|---|
|
|
A null-terminated string of alphanumeric characters; maximum length must be specified. An extra byte is required for the null flag. |
|
|
Unsigned byte integer. Size: 1 byte Range: 0 to +254 |
|
|
Unsigned word integer. Size: 2 bytes Range: 0 to +65535 |
|
|
Unsigned long integer. Size: 4 bytes Range: 0 to +4,294,967,294 |
|
|
Signed byte integer. Size: 1 byte Signed range: -128 to +127 |
|
|
Signed word integer. Size: 2 bytes Signed Range: -32768 to +32767 |
|
|
Signed long integer. Size: 4 bytes Range: -2147483648 to 2147483647 |
|
|
Signed long integer. Size: 8 bytes Range: -9223372036854775808 to +9223372036854775807 |
|
|
Single floating-point number (F_FLOAT). Size: 4 bytes Range: 0.29E-38 to 1.7E38 Precision: 6 digits |
|
|
Double floating-point number (D_FLOAT) Size: 8 bytes Range: 029E-38 to 1.7E38 Precision: 16 digits |
|
|
Unsigned byte integer. Size: 1 byte Values: 1 for |
|
|
ODBC date format. |
|
|
ODBC time format. |
|
|
Packed decimal Maximum number of digits: 31 Maximum fractions: 11 Length = int (number of digits/2) + 1 byte |
|
|
Signed numeric string. A right overpunched sign is implemented. Maximum number of digits: 31 Maximum fractions: 11 |
When you import metadata from a DDM file, the gateway maps the metadata data types as described in Table A-2.
Table A-2 Metadata from DDM Files
DDM/Natural Data Type | ADD-Adabas Data Type | Oracle Data Type | Details |
---|---|---|---|
|
|
|
A null-terminated string of alphanumeric characters; maximum length must be specified. An extra byte is required for the null flag. |
|
|
|
Unsigned byte integer. Size: 1 byte Range: 0 to +254 |
|
|
|
Unsigned word integer. Size: 2 bytes Range: 0 to +65535 |
|
|
|
Unsigned long integer. Size: 4 bytes Range: 0 to +4,294,967,294 |
|
|
|
Signed byte integer. Size: 1 byte Signed range: -128 to +127 |
|
|
|
Signed word integer. Size: 2 bytes Signed range: -32768 to +32767 |
|
|
|
Signed long integer. Size: 4 bytes Range: -2147483648 to 2147483647 |
|
|
|
Signed long integer. Size: 8 bytes Range: -9223372036854775808 to +9223372036854775807 |
|
|
|
Single floating-point number ( Size: 4 bytes Range: 0.29E-38 to 1.7E38 Precision: 6 digits |
|
|
|
Double floating-point number ( Size: 8 bytes Range: 0.29E-38 to 1.7E38 Precision: 16 digits |
|
|
|
Unsigned byte integer. Size: 1 byte Values: 1 for true, 0 for false |
|
|
|
ODBC date format. |
|
|
|
ODBC time format. |
|
|
|
Packed decimal Maximum number of digits: 31 Maximum fraction: 11 Length = int (number of digits/2) + 1 byte |
|
|
|
Signed numeric string Maximum number of digits: 31 Maximum fractions: 11 |