Page 1 of 1

Reading/writing Oracle CLOB Datatype

Posted: Wed Apr 20, 2011 3:52 am
by smart2786
Hi Experts,

As per my knowledge Oracle CLOB datatype is equals to LongNvarchar in Datastage.

when i am trying map CLOB data type field from oracle to LongNvarchar in filed in Datastage i am getting unsupported data type error.

I could not able to import metadata from oracle table because of CLOB datatype.

Is there any Environmental Variables need to be set to over come this issues?

Could you please share your valuable suggestions on this?

Thanks
kumar

Re: Reading/writing Oracle CLOB Datatype

Posted: Wed Apr 20, 2011 4:33 am
by blewip
Are you using the Oracle connector?

In the Connector Stage a CLOB equates to a Long Varchar

Re: Reading/writing Oracle CLOB Datatype

Posted: Wed Apr 20, 2011 5:00 am
by tbharathkumar
RAW(n) datatype not supported in datastage oracle connector, So CLOB datatype may also not supported. If oracle record length exceeds 32KB then job aborts...Pls advice if wrong.

Re: Reading/writing Oracle CLOB Datatype

Posted: Wed Apr 20, 2011 5:06 am
by blewip
I've never used RAW, however from the 8.5 manual

Oracle LOB and XMLType data types
The Oracle connector supports reading and writing Oracle LOB data types BFILE,BLOB, CLOB, NCLOB, LONG RAW, RAW, and XMLType.

Re: Reading/writing Oracle CLOB Datatype

Posted: Wed Apr 20, 2011 5:08 am
by tbharathkumar
We are in datastage version 8.1, i guess your answer is correct for Datastage ver 8.5 :-)

Posted: Wed Apr 27, 2011 12:49 am
by smart2786
Hi ray,

Could you please help on this??

Thanks

Posted: Wed Apr 27, 2011 1:58 am
by ray.wurlod
smart2786 wrote:Hi ray,

Could you please help on this??

Thanks
That is not how DSXchange works. Any people who feel they can contribute something are welcome to do so. And anyone who feels that he or she can not contribute anything useful are at liberty to remains silent; there is no compulsion on anyone.

Re: Reading/writing Oracle CLOB Datatype

Posted: Wed Apr 27, 2011 3:54 am
by blewip
blewip wrote:Are you using the Oracle connector?
Did you clarify that you were using the Connector, not the Enterprise / Other Stage?