Page 1 of 1

Activity count zero for Stream Operator update or delete

Posted: Sun Jun 03, 2012 4:56 pm
by rsunny
Hi ,

My target(Teradata) is Upsert and Access Method is Bulk and Load Type is Stream
My Source is Teradata and the lookup is a file .

When i try to trunctae the target table and run the job.

I am getting the error as "[IIS-CONN-TERA-005003] RDBMS code 9903: Activity count zero for Stream Operator update or delete. (CC_TeraAdapter::selectStreamErrorTable1, file CC_TeraAdapter.cpp, line 7,599)"
But the Data is loaded into the Target table but the job got Aborted. I am having a reject link for the target and i checked Duplicate Key to reject.

Can you please let me know what would be the reason for Aborting the job but loading the Data into the Target table

Posted: Mon Jun 04, 2012 7:39 pm
by rsunny
Can any one please let me know the solution for the above issue.

Posted: Mon Jun 04, 2012 9:07 pm
by ray.wurlod
What reason for Abort is given in the job log?

We can't see your system!

Posted: Mon Jun 04, 2012 9:15 pm
by rsunny
The job got Aborted due to below error in Log

Activity count zero for Stream Operator update or delete. (CC_TeraAdapter::selectStreamErrorTable1, file CC_TeraAdapter.cpp, line 7,599)

Posted: Mon Jun 04, 2012 9:20 pm
by chulett
So, something specific to Teradata - have you taken that message / code to your Teradata DBA?

Posted: Mon Jun 04, 2012 10:25 pm
by ray.wurlod
So what you've sent to Teradata is the equivalent of UPDATE stuff WHERE 1=0 and it didn't like it. You need to re-design to avoid this situation.

Posted: Tue Jun 05, 2012 7:07 am
by rsunny
Is there any possibility to avoid that error by using any settings in teradata connector stage?

Posted: Wed Jun 06, 2012 4:47 pm
by rsunny
The only way i could able to resolve is seperated the links for Update and Insert instead of using upsert.