Page 1 of 1

Job aborts if composite key columns are passed as a parametr

Posted: Mon Dec 03, 2012 2:42 am
by ujala
Hello all,
I am using netezza connector to update a set of records through Netezza connector through Datastage.
I am using RCP enabled data from dataset and moreover i wanted to resue the same job for different table updates.

While using netezza connector and passing the composite key columns to netezza stage via parameter, job aborts due to the following error:
(Netezza stage expects the key column to update and a check mark in columns tab will not surve the purpose.)

The following key column(s): Order_number,Item_number, Order_number,Item_number, Order_number,Item_number, Order_number,Item_number, Order_number,Item_number were not found in the link schema (CC_NZMetadataHelper::validateColumnsAgainstLinkSchema, file CC_NZMetadataHelper.cpp, line 2,917)

Order_Number,Item_number is the composite key which is used for update.

Let me know if any one has the solution for the above stated problem.
Note: It works fine if the composite key columns are selected manually.Problem persists only when passing it through the parameter

Posted: Mon Dec 03, 2012 6:04 am
by BI-RMA
Are you sure your parameter is set correctly. What does the job-log tell your parameter value to be? Is it really "Order_Number,Item_number" or is it "Order_number,Item_number, Order_number,Item_number, Order_number,Item_number, Order_number,Item_number, Order_number,Item_number"?

If it is the latter: How do you select the parameter?

Posted: Mon Dec 03, 2012 6:25 am
by ujala
Yes i have set the parameter correctly.

The parameter is "Order_Number,Item_number"

The job executes if i use only one column as key column say for example if i pass only one column as order_number job executes fine problem occurs when i give multiple columns

Posted: Mon Dec 17, 2012 10:17 am
by abhinavsuri
Did you get a solution to this problem?

Posted: Wed Dec 26, 2012 3:24 am
by ujala
No i didnot get any solution!

Posted: Wed Dec 26, 2012 7:10 am
by chulett
Well past time to involve your official support provider, it would seem. Did you look to see if there were any patches available for that connector? What exact 8.x version are you running?

Posted: Mon Jan 14, 2013 11:03 pm
by ujala
Yes, i looked to see for patches and found that there were no patches available for netezza connector.

I am using Datastage v8.7

Posted: Mon Jan 14, 2013 11:26 pm
by chulett
I would ask if you finally involved support but worry it would be two or three weeks again before the answer came. And I have a funny feeling we already know the answer...