To read XML datatype in Oracle stage

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
kapil.budhraja
Participant
Posts: 2
Joined: Sun Feb 15, 2009 5:30 pm
Location: Hyderabad

To read XML datatype in Oracle stage

Post by kapil.budhraja »

Hi,
I have a requirement where i have to read datatype-'XMLTYPE' in Oracle Stage in Enterprise edition.While trying to View data as 'Longvarchar' i am getting error like-
"Internal Error: (colDesc):orautils.C: 1714: getColDesc failed."
Can anyone provide inputs how to do this?
Regards,
Kapil Budhraja
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard.

IMPORT the table definition from Oracle, and use it unchanged.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kapil.budhraja
Participant
Posts: 2
Joined: Sun Feb 15, 2009 5:30 pm
Location: Hyderabad

Post by kapil.budhraja »

I tried this but it's not working because of the XML type.Its giving the same error -"Internal Error: (colDesc):orautils.C: 1714: getColDesc failed." while importing table definition.
Regards,
Kapil Budhraja
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi,

Try using the DRS or ODBC stage. We had some issues with Memo fields and then we used the DRS or ODBC stage to resolve it.

HTH
--Rich
Post Reply