Data Extract fails with Long column in SELECT clause

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
Sushilsb
Participant
Posts: 1
Joined: Tue Aug 28, 2007 1:50 pm

Data Extract fails with Long column in SELECT clause

Post by Sushilsb »

In my extract job, the select query is getting data from LONG column along with other types [number, varchar2]. Whenever I run this job it fails with following error
- OCI has fetched truncated data
- Oracle Error - OCI_INVALID_HANDLE
and job gets aborted.

If i remove the only LONG column and run the job, it fetches the data correctly.
How to fetch the long column in SELECT
Sushil
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I dind't think that LONG was supported, but am not sure. How long is your definition?
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Yes, Long is not supported but as an work-around use varchar with a bigger size.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Post Reply