Yash
Yash

Reputation: 39

How to perform UPSERT with duplicate records captured in different file in informatica

I have below requirement-

I have to load the data into table and perform update else insert. I also need to perform below for error reporting:

I have tried:

SQ -flow1 -> aggregation -> err file
   -flow2 -> sorter-lookup on target -> router-update else insert.

But it i not working properly.

Can you please help me here with the logic.

Upvotes: 0

Views: 879

Answers (1)

Maciejg
Maciejg

Reputation: 3353

You don't need the first flow. All you need is the flow2 and on your Target in Session -> Mapping tab set the Reject file directory and Reject filename properties accordingly.

Informatica automatically does fulfill your requirement by redirecting rejected rows to a file of your choice. You may need to adjust the Stop on errors property in Config Object tab of the session.

Upvotes: 1

Related Questions