XML datatype

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
TasneemDhuliawala
Participant
Posts: 5
Joined: Wed Mar 14, 2007 2:21 am

XML datatype

Post by TasneemDhuliawala »

Hi guys,

I am using DB2 9.0 with data stage which supports XMl data type.

when i try to import a Db2 table definition with a column having XML datatype,in datastge,
and as datastage doesnt support XML datatype, i am not able to load the XML file as data in the Database.

Can anyone please help me a way out of it.
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Upgrade to DataStage version 8.0, where there is better integration with the DB2 version 9 data types. The XML data type is new to version 9 of DB2, so was not known about when earlier versions of DataStage appeared. Whether the new functionality extends to server jobs I am unsure.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Is this something you can read in as a Varchar or LongVarchar and then parse afterwards with one of the XML stages? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
TasneemDhuliawala
Participant
Posts: 5
Joined: Wed Mar 14, 2007 2:21 am

Post by TasneemDhuliawala »

Hi

@ray .. thanks for ur suggestion , but currently we wont be able to get the upgraded version ... so..

@chullett... we tried working out using varchar, but then wen have to keep the datatype of column in table also as VArchar otherwise it doesnt work, coz wid XmL as datatype , job runs but no data goes in the table. it show "empty data source " in the data viewer..
Post Reply