CDC Warning

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
mkkgupta
Premium Member
Premium Member
Posts: 17
Joined: Thu Jan 24, 2008 10:13 pm

CDC Warning

Post by mkkgupta »

Hi,

We have a post for this but I felt we do not have enough info on that one.

I am getting following waring when I pull all columns from after dataset as I have not added all columns in explicit keys & values.
However I need all those columns to do another cdc to differentiate two updates. ( second cdc is fine as I added all those columns under explicit values)

warning for first cdc..
cc1: When checking operator: Defaulting "First_Name" in transfer from "beforeRec" to "outputRec".

Appreciated for your help!
Regards
Kiran
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you have Runtime Column Propagation enabled? If you don't need it, disable it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mkkgupta
Premium Member
Premium Member
Posts: 17
Joined: Thu Jan 24, 2008 10:13 pm

Post by mkkgupta »

I am not using RCP in this job
Regards
Kiran
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Is metadata of before and after link the same. I believe "First_Name" is not present in one of the input links.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Kryt0n
Participant
Posts: 584
Joined: Wed Jun 22, 2005 7:28 pm

Post by Kryt0n »

Does your "before" dataset have the "First_name" column? What it would imply is that your "after" dataset has a "First_name" column but for a "before" record not present in the "after" it is defaulting the value of "First_name". I would guess you have it set to keep deletes.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

It's a dangerous warning because it is putting NULL into your FIRST_NAME field on output. I think it occurs when you have a field that is not matched between your two inputs so it defaults it to empty on output.
rohithmuthyala
Participant
Posts: 57
Joined: Wed Oct 21, 2009 4:46 am
Location: India

Post by rohithmuthyala »

I think the work around for this will be to keep only the columns whcih are used as Change Keys (or) Change Values and drop others , and then the output of CDC can again be joined with the after dataset to retrieve all the columns which are required for the second CDC.
Rohith
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Let's be clear here.

Is this the Change Data Capture product (which typically identifies changes from transaction logs in databases), or is this the Change Capture stage?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply