Datastage Tuncation Error

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
natashab
Participant
Posts: 17
Joined: Mon Aug 09, 2010 3:44 am

Datastage Tuncation Error

Post by natashab »

A job is designed with a source oracle stage loading to a target oracle stage through a transformer stage.When the job is executed it aborts with the below error.

Target: Table truncation failed for "SCHEMA.TABLENAME".

Is it a database issue, i.e - Privilege to truncate the table is not given or is it something else that's stopping the job from executing successfully
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

TRUNCATE is a specific and separate privilege in 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.
natashab
Participant
Posts: 17
Joined: Mon Aug 09, 2010 3:44 am

Post by natashab »

what should be done to make the job run without the truncation failed error?
arunpramanik
Participant
Posts: 63
Joined: Fri Jun 22, 2007 7:27 am
Location: Kolkata

Post by arunpramanik »

natashab wrote:what should be done to make the job run without the truncation failed error?
Check the user rights/privilege of the Oracle user which you are using has the proper right to truncate.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I would think more messages than that would be involved here. The table could be "busy", in use by another process and thus not truncatable.
-craig

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