CDC Error

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
ksimon00
Participant
Posts: 1
Joined: Tue May 11, 2004 12:08 pm

CDC Error

Post by ksimon00 »

Has anyone experienced the error below? Does anyone know what is meant by "view-adapted input schema" in this case, and the major causes of this problem?


CC_DeptXref: Key field "DEPT" not found in view-adapted input schema
Key field "DEPT" not found in view-adapted input schema



Thanks,

Karl
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi Karl,

I believe DEPT is the key that you are specifying in CDC stage. Actually CDC is used to compare 2 datasets. In the CDC stage in the Input tab you will have 2 input links. Check the columns tab in the 2 input links. Check DEPT exists in the two input column list. Maybe you have used alias name in one of the column list.

HTH.

--Rich

A liitle bit of ink is powerful than the strongest memory
--Confucius
Gazelle
Premium Member
Premium Member
Posts: 108
Joined: Mon Nov 24, 2003 11:36 pm
Location: Australia (Melbourne)

Key field not found in view-adapted input schema

Post by Gazelle »

I received the same error in a Remove Duplicates stage, so it is not to do with mismatched columns in the CDC.

Reiterating Karl's question:
Has anyone experienced the error below? Does anyone know what is meant by "view-adapted input schema" in this case, and the major causes of this problem?

More importantly, does anyone know the solution?

- g
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

Double check your input dataset. The field is simply not there during runtime, nor is it propagated through there.
Gazelle
Premium Member
Premium Member
Posts: 108
Joined: Mon Nov 24, 2003 11:36 pm
Location: Australia (Melbourne)

Post by Gazelle »

Thanks.
By removing the Remove Duplicates stage, it uncovered another error.
Refer to the topic: Fatal error due to "differing nullability".
Post Reply