Page 1 of 1

APT_TeraSync: connecting to Teradata ?

Posted: Mon May 14, 2007 4:23 am
by hamzaqk
I am attempting to both read and load to the same view of a table within a DataStage job, using Multiload and getting an error which DataStage gives as "APT_TeraSync: could not create operator sync table".


any ideas ?

Re: APT_TeraSync: connecting to Teradata ?

Posted: Mon May 14, 2007 5:59 am
by Trinity
hamzaqk wrote:I am attempting to both read and load to the same view of a table within a DataStage job, using Multiload and getting an error which DataStage gives as "APT_TeraSync: could not create operator sync table".


any ideas ?
Hi there,

while doing multiload datastage try to create temp tables , so if you have given DB_OPTION = "Database name" and the user dosen't have access to create the tables in that database , it will give you terasync error.

so you can try giving a databse name in which you have access or maybe use API stage if you donn have much huge no of records.

Trinity

Posted: Mon May 14, 2007 7:39 am
by keshav0307
try running the generated multiload script from os prompt, does it run successfully??

from the error message it i guess, you are using Teradata enterprise stage, not multiload stage..

Posted: Mon May 14, 2007 4:38 pm
by ray.wurlod
Check that you have privileges to create the table in the temporary workspace (or wherever else you may have specified).

Teradata Enterprise Error while Inserting the rows in Target

Posted: Tue May 15, 2007 8:26 am
by arjun_004
For all insert jobs, the Teradata Enterprise stage needs "Create table" rights to the database where the target table is present. This is because it creates intermediate work tables to load the data and currently we do not have the "create table" rights to the target DB. Is there any parameter that exists which can point to a different database for creating work tables in Teradata Enterprise stage?

Kindly Provide your suggestion.

Re: APT_TeraSync: connecting to Teradata ?

Posted: Tue May 15, 2007 8:29 am
by arjun_004
For all insert jobs, the Teradata Enterprise stage needs "Create table" rights to the database where the target table is present. This is because it creates intermediate work tables to load the data and currently we do not have the "create table" rights to the target DB. Is there any parameter that exists which can point to a different database for creating work tables in Teradata Enterprise stage?[



quote="Trinity"]
hamzaqk wrote:I am attempting to both read and load to the same view of a table within a DataStage job, using Multiload and getting an error which DataStage gives as "APT_TeraSync: could not create operator sync table".


any ideas ?
Hi there,

while doing multiload datastage try to create temp tables , so if you have given DB_OPTION = "Database name" and the user dosen't have access to create the tables in that database , it will give you terasync error.

so you can try giving a databse name in which you have access or maybe use API stage if you donn have much huge no of records.

Trinity[/quote]