varbinary datatype in source

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
srini.dw
Premium Member
Premium Member
Posts: 186
Joined: Fri Aug 18, 2006 1:59 am
Location: Chennai

varbinary datatype in source

Post by srini.dw »

Hi,

Please need your help to the data issue.

One of the column from the source (SQL server) is [varbinary](max) NULL.

Its having the value as below

0xD0CF11E0A1B11AE1000000000000000000000000000000003E000300FEFF

Few values exceed the lenght upto 355902.

Job design
ODBC Connector -> Copy -> DataSet.

What should be datatype of this.

I tried to give as VarBinay as the SQL type and length as 1000000, it says Datatype Not Supported.

Any idea/help please.

Thanks,
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Hi,

Blob datatype is not supported in datastage,but if your target datatype is varchar you can typecast using StringToRaw function.
srini.dw
Premium Member
Premium Member
Posts: 186
Joined: Fri Aug 18, 2006 1:59 am
Location: Chennai

Post by srini.dw »

Thanks for the reply.

Source column was dropped, we did not carry this forward.

Thanks,
Post Reply