Page 2 of 2

Posted: Fri Mar 07, 2008 11:10 am
by ArndW
And if you look at the test sequential file are all 8 records there as you expect? It is just that it is unlikely for the UPDATE to work correctly for some but not for other record contents so we are trying to eliminate possible error sources .

Posted: Mon Mar 10, 2008 3:17 am
by G SHIVARANJANI
Yes the sequential file has all 8 as expected.

I could see the update and delete are double.

can it be becouse of two odbc definitions one being the replica of the
other...

As i am using one data source name (DSN1) for update , and there is one more datasource name which is refering to the same data base (DSN2)

ArndW wrote:And if you look at the test sequential file are all 8 records there as you expect? It is just that it is unlikely for the UPDATE to work correctly for some but not for other record contents so we are trying to eliminate possible error sources .

Posted: Mon Mar 10, 2008 3:39 am
by ArndW
That is a likely source of the error. You hadn't mentioned 2 ODBC stages before, have you written so that you have one insert and one update stage?

Posted: Thu Mar 13, 2008 4:19 am
by G SHIVARANJANI
Sorry for the delayed response.

I am doing only update in one job,

and this job has only one ODBC stage

which has property setting as:

Data source name : DSN1
Password: PWD
User: USR


we have deleted DSN2 now which was another alternative ODBC definition for the same database which DSN1 points to , but it did not resolve the problem.
ArndW wrote:That is a likely source of the error. You hadn't mentioned 2 ODBC stages before, have you written so that you have one insert and one update stage? ...

Posted: Thu Mar 13, 2008 8:27 pm
by G SHIVARANJANI
Hi,

Could any one address me the solution for the view of wrong log report

G SHIVARANJANI wrote:Sorry for the delayed response.

I am doing only update in one job,

and this job has only one ODBC stage

which has property setting as:

Data source name : DSN1
Password: PWD
User: USR


we have deleted DSN2 now which was another alternative ODBC definition for the same database which DSN1 points to , but it did not resolve the problem.
ArndW wrote:That is a likely source of the error. You hadn't mentioned 2 ODBC stages before, have you written so that you have one insert and one update stage? ...

Posted: Thu Mar 13, 2008 8:47 pm
by chulett
There's nothing wrong with your 'log report', and the way it works has been explained several times in the thread.

The log reports the number of records sent down the link, period. What happens inside the database is up to the database. There are no guarantees that the keys you've sent will actually update anything, and some databases don't consider an update that affects zero records as a problem.