change capture

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
Jay
Participant
Posts: 105
Joined: Tue Nov 11, 2003 8:28 pm

change capture

Post by Jay »

Hi All,

I am using the Change Capture stage to get insert/edit/delete rows comparing one table to another.

Change codes: Insert=1, Delete=2, Edit=3.

Here is one result which is baffling me.

1 new row, from 1st table(before data set) + 0 rows from 2nd table(after data set), change_code=2 (considers as delete)

Text in Change capture says:

"Value for the change code column in the change record for the delete result. A delete means that a row in the before data set must be deleted to produce the after data set."

Is this how this stage works ?

A bit confused here...can someone help me out a bit?

thanks
jay
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

The terms are based on the After dataset.

Is the record New, Changed, Unchanged, or Deleted on the After dataset?
Post Reply