Reject rows from a OCI stage to a sequential file.

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
rajanikc
Participant
Posts: 15
Joined: Wed Jan 24, 2007 11:11 am

Reject rows from a OCI stage to a sequential file.

Post by rajanikc »

Hi;
I am loading some data from a sequential file to a OCI stage. I have also placed a reject file from the output of the OCI stage. I want to collect all the the records rejected by OCI stage into the reject file.
The problem is for some errors like ORA-12899: value too large for column the job itself is failing istead of the rejected row going into the reject file. So is there any way to capture the row into the reject file with out the job getting aborted?
Thanks in advance.
Rajani
---Raj
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

If the Sequential file or any stages before Oracle stage like Transformer has been defined with proper metadata, the large value data wont even hit the Database. You could have captured the error data in Datastage it self.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply