Any Function to get oracle Error Description in DataStage

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
ysrini9
Participant
Posts: 108
Joined: Tue Jul 12, 2005 2:51 am

Any Function to get oracle Error Description in DataStage

Post by ysrini9 »

Hi,

Any Function to get oracle Error Description in DataStage.

By using DBMSCODE we are getting Errorno:ORA917

Belong's that How to Capture Oracle Error Description as well

Please Let me know the way?

Thanks in Advance
Srini
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There is no routine "out of the box". However you could invoke the oerr command through your own routine via DSExecute subroutine.
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 »

Or create a reference hashed file with the values you are interested in and lookup when rejecting.
-craig

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