Long 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
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

Long Datatype

Post by dnat »

Hi,

I have a job, where i extract a long datatype column from oracle Database. I tried extracting with Varchar(4000) and more and tried using Varbinary, but nothing works.

I am getting the following error:

main_program: Unsupported SQL type LONG or LONG VARCHAR for column TEXT.

Is there a way to get this long datatype columns in an output dataset/file?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

They're not supported but you may be able to CAST it to a varchar in your source sql. Or use the dbms_lob.substr function there. This may work better over OCI in a Server job than in PX.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Moderator: please move to parallel forum
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply