ODBC Updates twice

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
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

ODBC Updates twice

Post by G SHIVARANJANI »

Hi,

I am working on ODBC stage to connect progress database.

I am applying join on two tables and then getting two records as a result of the join.

and then after getting the two records , am trying to update the two records depending on the keys

But while updating i have kept a reject link to ODBC stage.

so the update occures twice(as per the Log)

If i remove the reject link the update happens only once.

Please suggest
Shivaranjani
Teej
Participant
Posts: 677
Joined: Fri Aug 08, 2003 9:26 am
Location: USA

Post by Teej »

Huh?

It is behaving exactly what you want.

2 records, 1 record updated in original stage, and 1 got rejected and updated in the follow-up ODBC stage.

Remove reject link, only 1 get updated as originally.

I don't see what the problem is, can you clarify?
G SHIVARANJANI
Participant
Posts: 137
Joined: Sun Jan 07, 2007 11:17 pm
Location: VISAKHAPATNAM

Post by G SHIVARANJANI »

Teej wrote:Huh?

It is behaving exactly what you want.

2 records, 1 record updated in original stage, and 1 got rejected and updated in the follow-up ODBC stage.

Remove reject link, only 1 get updated as originally.

I don't see what the problem is, can you clarify?

the issue is Both the records should be updated in ODBC even in the absence of reject link. But only one record is getting updated.
Shivaranjani
Post Reply