DB2 10.5 for Linux, UNIX, and Windows

Data type-specific rules governing PC/IXF file import into databases

Table 1 and Table 2 summarize PC/IXF file import into new or existing database tables without the FORCEIN option.
Table 1. Summary of PC/IXF file import without FORCEIN option-numeric types
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
a Individual values are rejected if they are out of range for the target numeric data type.
Table 2. Summary of PC/IXF file import without FORCEIN option-character, graphic, and date/time types
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
b Data type is available only in DBCS environments.
c Individual values are rejected if they are not valid date or time values.
d Data type is not available in DBCS environments.
Note:
  1. The table is a matrix of all valid PC/IXF and database manager data types. If a PC/IXF column can be imported into a database column, a letter is displayed in the matrix cell at the intersection of the PC/IXF data type matrix row and the database manager data type matrix column. An 'N' indicates that the utility is creating a new database table (a database column of the indicated data type is created). An 'E' indicates that the utility is importing data to an existing database table (a database column of the indicated data type is a valid target).
  2. Character string data types are distinguished by code page attributes. These attributes are shown as an ordered pair (SBCS,DBCS), where:
    • SBCS is either zero or denotes a non-zero value of the single-byte code page attribute of the character data type
    • DBCS is either zero or denotes a non-zero value of the double-byte code page attribute of the character data type.
  3. If the table indicates that a PC/IXF character column can be imported into a database character column, the values of their respective code page attribute pairs satisfy the rules governing code page equality.