DataStage job failing with error esql complaint: ORA-12899:

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ketanshah123
Participant
Posts: 88
Joined: Wed Apr 05, 2006 1:04 am

DataStage job failing with error esql complaint: ORA-12899:

Post by ketanshah123 »

Hi

My job failing with error esql complaint: ORA-12899: value too large for column

error is coming while updating , the field which giving error has length 40 before database stage there is trnasfpormer stage and in transformer have derivition like
if isnull(columnname) then setnull() else left(columnname, 35)

in database also the filed is having lenght 40.

I have used tring in transformer , substring in sql but still same error persists. Source is SAP system and filed is coming only 40 char from there side.

Any clues,solution for this

thanx in advance
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Multi-byte character set?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ketanshah123
Participant
Posts: 88
Joined: Wed Apr 05, 2006 1:04 am

Post by ketanshah123 »

chulett wrote:Multi-byte character set? ...

the field I am getting from DataSet and is of type char with length 40
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Doesn't really answer the question. What character sets are involved here, source and target?
-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 »

What Craig is getting at with his question is that, depending on what character set you are using, it may require more than 40 bytes to store 35 characters. Oracle can be specified to allocate storage in either bytes or characters.
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 »

And the default is bytes. And yes, was... getting there. :wink:
-craig

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