change_code in the input not found

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
sreddy
Participant
Posts: 144
Joined: Sun Oct 21, 2007 9:13 am

change_code in the input not found

Post by sreddy »

Hi

I designed a job using change capture. The design is like this


DB2API----| |==ODBC
| |
|==Change Capture==Transformer==|
DB2API----| |==ODBC==ODBC

In the Transformer i put the link constraint
Lnk_Capture.change_code=3 or Lnk_Capture.change_code=1
for update and insert ,
Lnk_Capture.change_code=2
for deleted records.

What is my mistake, why i am getting below Fatal error.
Insert: Field: change_code in the input not found in db table: DB2DODS2.TN1ODSHD and drop option was not specified
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Code: Select all

DB2API----|                               |==ODBC
          |                               |
          |==Change Capture==Transformer==|
DB2API----|                               |==ODBC==ODBC

The error says that change code is not present in the table you are trying to write.

So either you have mapped change code to the output link or RCP is creating the problem.

check transformer/project settings for both the cases.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply