Where do we set Errors Allowed for oracle stage in Datastage

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
Fon Silvers
Participant
Posts: 5
Joined: Wed Jan 24, 2007 10:31 am

Where do we set Errors Allowed for oracle stage in Datastage

Post by Fon Silvers »

We see the following in the oracle log file (for example ora.5636216.0.0.log) for a load job using Oracle stage.

Number to load: ALL
Number to skip: 0
Errors allowed: 50

Where do we set this errors allowed =50 ?

How does the Oracle stage know that the limit is 50.

Is there a variable that we can manipulate to make the limit to zero.

Please let me know.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

50 is the Oracle default for sqlldr and is separate from job warnings. Zero isn't valid but you could set ERRORS=N to a large number as one of the OPTIONS the stage allows you to pass in, I would imagine.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Fon Silvers
Participant
Posts: 5
Joined: Wed Jan 24, 2007 10:31 am

Post by Fon Silvers »

Thank you so much for your response.

I couldn't see the whole message since I am not premium member but anyhow I do not see any option in the stage that would allow us to set the errors. We want a small number to set so that job will abort.

These are the only options I see in the stage.

additional connection options.
close and open commands
index mode
disable constaints
truncate
silently drop etc

Do we need to pass the ERRORS as a variable. If yes where do we pass it.
jerome_rajan
Premium Member
Premium Member
Posts: 376
Joined: Sat Jan 07, 2012 12:25 pm
Location: Piscataway

Post by jerome_rajan »

Assuming you have a reject link in the target connector, open the connector properties and click on the reject link in the graphic shown in the top left. The properties shown are probably what you are looking for.
Jerome
Data Integration Consultant at AWS
Connect With Me On LinkedIn

Life is really simple, but we insist on making it complicated.
Post Reply