Venkat
Venkat

Reputation: 47

How to load Informatica Rejected rows due to 'Database errors' to a relational table

While running a mapping I am getting couple of database errors and jobs failed 1.) Arithmetic Overflow error 2.) Conversion failed when converting date and/or time from character string.

This is purely data issue(datatype error and data length issue) and I want to reject these records and write it in a separate error table.

The .bad files in which these records are written consists of characters which looks like junk (',N,N,N,N' AND ',D' AND ',0'), I am not sure on what basis we get these characters.

Upvotes: 0

Views: 1168

Answers (2)

abhishek dubey
abhishek dubey

Reputation: 11

Hey Vankat just lookig at you problem try to filter out the records which doesn't meet your criteria by putting condition like (data type,length)at router transformation and route them to error table or capture that recods in a flat file. Hope this will give you a clear picture.

Upvotes: 1

stickabee
stickabee

Reputation: 145

You could use a router transformation to route every field which does not meet your criteria to the error table. This way you will handle them before they become bad rows.

Upvotes: 1

Related Questions