Length of ODBC Message

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
cassi_bsb
Participant
Posts: 11
Joined: Thu Oct 25, 2007 12:33 pm

Length of ODBC Message

Post by cassi_bsb »

Hi There,

Is there any way to configure the length of message sent from DB to DataStage ODBC conector?

We have some troubles to identify properly the error because the message is presented truncated at 200 characters.

Perhaps that the most significant part of message is not presented, like bellow.

APT_CombinedOperatorController,2: [IBM(DataDirect OEM)][ODBC SQL Server Legacy Driver][SQL Server]Violation of PRIMARY KEY constraint 'TD068IP'. Cannot insert duplicate key in object 'dbo.TD_068_SX_OCORRENCIA'. The duplicate key valu


See that the complete message is:
"Violation of PRIMARY KEY constraint 'TD068IP'. Cannot insert duplicate key in object 'dbo.TD_068_SX_OCORRENCIA'. The duplicate key value is (Feb 20 2015 8:19PM)."


Image
Cassiano Fontoura
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That's going to be a support question, I would think.
-craig

"You can never have too many knives" -- Logan Nine Fingers
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Ouch, that hurts...

Have you tried routing the rejected records to a reject link? If they can be captured then you could easily view the key values.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply