Capturing Oracle Error Code From Enterprise Stage

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
Gokul
Participant
Posts: 74
Joined: Wed Feb 23, 2005 10:58 pm
Location: Mumbai

Capturing Oracle Error Code From Enterprise Stage

Post by Gokul »

Hi All,

I have a follwing job design

Code: Select all

OraTable -------->Transformer-------->OraTable 
a> The source & Target are Oracle Enterprise Stages.
b> There are 2 targets, one for good records and other reject table where we will have bad records.

In the reject table , I want to capture the oracle error code for the rejected records.

I found that Enterprise Stage has default sqlcode column which gives error codes only for upsert failure and duplicate records.

I want to capture all the types of Ora errors.
Please provide your inputs on the same.

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

Post by ray.wurlod »

Once you place a reject link on the Oracle Enterprise stage, DataStage will automatically manage writing sqlcode (the error code) to that reject link. Which errors are you claiming are not captured?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply