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

Db2 for z/OS Source and Amazon Redshift Target

The following table identifies the recommended data-type mappings for Database Ingestion and Replication configurations with a Db2 for z/OS source and an Amazon Redshift target:
Db2 for z/OS Source Data Type
Amazon Redshift Target Data Type
bigint
bigint
binary(size), 1 <= size <= 255
binary varying(size), 1 <= size <= 255
char for bit data
binary varying(1)
char(size) for bit data, 2 <= size <= 255
binary varying(size), 2 <= size <= 255
char(size), 1 <= size <= 255
character(size), 4 <= size <= 1020
date
date
decfloat(precision), 16 <= p <= 34
character varying(255)
decimal(p,s), 1 <= p <= 31, 0 <= s <= 31
numeric(p,s), 1 <= p <= 31, 0 <= s <= 31
float
double precision
integer
integer
long varchar
character varying(65535)
long varchar for bit data
binary varying(32704)
real
real
rowid
binary varying(40)
smallint
smallint
time
time without time zone
timestamp(precision) with time zone, 0 <= p <= 6
timestamp with time zone
timestamp(precision) with time zone, 7 <= p <= 12
character varying(size), 67 <= size <= 72
timestamp(precision), 0 <= p <= 6
timestamp without time zone
timestamp(precision), 7 <= p <= 12
character varying(size), 27 <= size <= 32
varbinary(size), 1 <= size <= 32704
binary varying(size), 1 <= size <= 32704
varchar(size) for bit data, 1 <= size <= 32704
binary varying(size), 1 <= size <= 32704
varchar(size), 1 <= size <= 32704
character varying(size), 4 <= size <= 65535
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.