Pls Help - Extract XMLTYPE data from Oracle 9i

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
tini
Participant
Posts: 24
Joined: Thu Jun 19, 2003 6:37 am

Pls Help - Extract XMLTYPE data from Oracle 9i

Post by tini »

I have a problem to extract XMLTYPE data from Oracle 9i to text file, using Server job.
the length of this field is 400
I get the error said "internal error code, arguments:[], [], [], [], []'
I did go back to the old post in this form but none of the post can help me to solve this problem.
I'd tried LongVarChar, Varchar with but I got no luck.
I wonder if someone can help me please.
Thank you very much.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What do you get as the data type when you import the table definition from Oracle?
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 »

It's not a natively supported data type. Sometimes you can get away with casting to a varchar or longvarchar, or you may need to start using the XMLType methods built into Oracle to query it.

Some information for XMLType in 11g, check with your DBA what of that is applicable to 9i.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply