Database Ingestion and Replication > Default data-type mappings > Db2 for z/OS Source and Snowflake Target
  

Db2 for z/OS Source and Snowflake Target

The following table identifies the recommended data-type mappings for Database Ingestion and Replication configurations with a Db2 for z/OS source and a Snowflake target:
Db2 for z/OS Source Data Type
Snowflake Target Data Type
bigint
integer
binary(size), 1 <= size <= 255
binary(size), 1 <= size <= 255
char for bit data
binary(1)
char(size) for bit data, 2 <= size <= 255
binary(size), 2 <= size <= 255
char(size), 1 <= size <= 255
char(size), 4 <= size <= 1020
date
date
decfloat(precision), 16 <= p <= 34
char(255)
decimal(p,s), 1 <= p <= 31, 0 <= s <= 31
number(p,s), 1 <= p <= 31, 0 <= s <= 31
float
float
integer
integer
long varchar
varchar(130816)
long varchar for bit data
binary(32704)
real
float
rowid
binary(40)
smallint
integer
time
time(0)
timestamp(precision) with time zone, 0 <= p <= 9
timestamp_tz(precision), 0 <= p <= 9
timestamp(precision) with time zone, 10 <= p <= 12
char(size), 70 <= s <= 72
timestamp(precision), 0 <= p <= 9
timestamp_ntz(precision), 0 <= p <= 9
timestamp(precision), 10 <= p <= 12
char(size), 30 <= size <= 32
varbinary(size), 1 <= size <= 32704
binary(size), 1 <= size <= 32704
varchar(size) for bit data, 1 <= size <= 32704
binary(size), 1 <= size <= 32704
varchar(size), 1 <= size <= 32704
varchar(size), 4 <= size <= 130816
Unsupported source data types
Database Ingestion and Replication does not support the following Db2 for z/OS data types:
Database ingestion and replication jobs propagate nulls for columns that have these data types.