Inseting CLOB data in to Oracle

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
sveeramani
Participant
Posts: 3
Joined: Wed Apr 20, 2005 9:24 am

Inseting CLOB data in to Oracle

Post by sveeramani »

Hi,
I try to insert/update CLOB data in to Oracle . The size of CLOB is set to 2192000 in the job. It's giving internal error , while running. If I reduce the size to 105,000, running fine. Among the five jobs, only one job giving this error.

Experts please help
Regards,
Veera
veera
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

CLOB datatype is not supported. For the job that's failing, is it on updates or inserts? CLOB requires special handling.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
sveeramani
Participant
Posts: 3
Joined: Wed Apr 20, 2005 9:24 am

Post by sveeramani »

Both insert and update giving problem. I used in other jobs ,it's working fine. May I know the special handling?
veera
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

sveeramani wrote:Both insert and update giving problem. I used in other jobs ,it's working fine.
What's different in the job that's giving you the issues?
What data type do you use for CLOBs in the jobs that you say do work?
Have you asked your DBA about space for CLOBs?
What error messages are logged?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

sveeramani wrote:Both insert and update giving problem. I used in other jobs ,it's working fine. May I know the special handling?
Just read for yourself. Depending on which Oracle version, ease with working with CLOBS varies.

http://www.stanford.edu/dept/itss/docs/ ... lob_wh.htm
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you have 10g the DBMS_LOB package comes in very handy. :wink:
-craig

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