Capture reject records

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
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

Capture reject records

Post by dr.murthy »

Hi,

My target data base is oracle , i use OCI stage to load records , when i load the data its throwing warnings like ORA-01722: invalid number. i dont want to load these records into target , i want to load in reject file . when i give the constraint to reject link its loading the rejected records into file and throwing the same warning,

Any suggestions to over come this issue.

thanks in advance
D.N .MURTHY
ssreeni3
Participant
Posts: 29
Joined: Fri May 18, 2012 1:35 am

Post by ssreeni3 »

Hi,

Oracle target stage has an option to capture the Oracle_Rejected data.

---------------
Sreeni
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

Post by dr.murthy »

Am working on server jobs, it does not have reject option in oracle stage
D.N .MURTHY
jerome_rajan
Premium Member
Premium Member
Posts: 376
Joined: Sat Jan 07, 2012 12:25 pm
Location: Piscataway

Post by jerome_rajan »

You can use the oracle connector within a parallel container in your server job
Jerome
Data Integration Consultant at AWS
Connect With Me On LinkedIn

Life is really simple, but we insist on making it complicated.
dr.murthy
Participant
Posts: 224
Joined: Sun Dec 07, 2008 8:47 am
Location: delhi

Post by dr.murthy »

is not there any other solution ???
D.N .MURTHY
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Why didn't you post the question in the Server job forum?

In server jobs the reject link from a Transformer stage that feeds the OCI stage is used to capure rejected rows. Link variables can be used to capture the DBMS error code and message.
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 »

jerome_rajan wrote:You can use the oracle connector within a parallel container in your server job
I think you've got that backwards. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Capture reject records

Post by chulett »

Well, here we are in Server Town now.
dr.murthy wrote:when i give the constraint to reject link its loading the rejected records into file and throwing the same warning
That's how it works, the warning is always logged.
-craig

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