If IXFCSBCP is not zero, the value of IXFCDBCP must equal either zero or the DBCS CPGID of the target database column.
If either of these conditions is not satisfied, the PC/IXF and database columns are incompatible.
When importing a valid PC/IXF character column into a new database table, the value of IXFCSBCP must equal either zero or the SBCS CPGID of the database, or there must be a conversion table. If IXFCSBCP is zero, IXFCDBCP must also be zero (otherwise the PC/IXF column is an invalid data type); IMPORT creates a character column marked FOR BIT DATA in the new table. If IXFCSBCP is not zero, and equals the SBCS CPGID of the database, the value of IXFCDBCP must equal either zero or the DBCS CPGID of the database; in this case, the utility creates a character column in the new table with SBCS and DBCS CPGID values equal to those of the database. If these conditions are not satisfied, the PC/IXF and database columns are incompatible.
The FORCEIN option can be used to override code page equality checks. However, a PC/IXF character column with IXFCSBCP equal to zero and IXFCDBCP not equal to zero is an invalid data type, and cannot be imported, even if FORCEIN is specified.
When importing a valid PC/IXF graphic column into a database graphic column, the value of IXFCDBCP must equal the DBCS CPGID of the target database column (that is, the double-byte code pages of the two columns must agree).
PC/IXF COLUMN DATA TYPE | DATABASE COLUMN DATA TYPE | |||||
---|---|---|---|---|---|---|
SMALL INT | INT | BIGINT | DEC | DFP | FLT | |
-SMALLINT | N | |||||
E | E | E | Ea | E | E | |
-INTEGER | N | |||||
Ea | E | E | Ea | E | E | |
-BIGINT | N | |||||
Ea | Ea | E | Ea | E | E | |
-DECIMAL | N | |||||
Ea | Ea | Ea | Ea | E | E | |
-DECFLOAT | N | |||||
Ea | Ea | Ea | Ea | E | Ea | |
-FLOAT | N | |||||
Ea | Ea | Ea | Ea | E | E |
PC/IXF COLUMN DATA TYPE | DATABASE COLUMN DATA TYPE | ||||||
---|---|---|---|---|---|---|---|
(0,0) | (SBCS, 0)d | (SBCS, DBCS)b | GRAPHb | DATE | TIME | TIME STAMP | |
-(0,0) | N | ||||||
E | Ec | Ec | Ec | ||||
-(SBCS,0) | N | N | |||||
E | E | E | Ec | Ec | Ec | ||
-(SBCS, DBCS) | N | Ec | Ec | Ec | |||
E | E | ||||||
-GRAPHIC | N | ||||||
E | E | ||||||
-DATE | N | ||||||
E | |||||||
-TIME | N | ||||||
E | |||||||
-TIME STAMP | N | ||||||
E |