Teradata Connector load using Bulk mode

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
swadeep
Participant
Posts: 3
Joined: Mon Feb 13, 2006 10:13 am
Location: USA

Teradata Connector load using Bulk mode

Post by swadeep »

Hi,

I am trying to load to Teradata using TD Connector Stage.

Job Design

DataSet----Transformer----TD Connector(Access Method - Bulk and Load type - Load)

Job is failing with error

Error tables are invalid OR <tablename> is in an invalid state for Load

Main table is one database and error and log tables are in different database.

No locks on Main table,

Thanks in Advance
iskapalli
Participant
Posts: 76
Joined: Wed Jul 25, 2007 12:36 am

Post by iskapalli »

Hi,

Please share the exact error message in datastage director.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Teradata Connector load using Bulk mode

Post by chulett »

swadeep wrote:Main table is one database and error and log tables are in different database.
This concerns me. If they are truly in "different databases", wouldn't they require different connection details? I'm sure the stage is only asking for one. Is this even supported outside of DataStage?
-craig

"You can never have too many knives" -- Logan Nine Fingers
fridge
Premium Member
Premium Member
Posts: 136
Joined: Sat Jan 10, 2004 8:51 am

Post by fridge »

On teradata the term database is a bit more like a schema in DB2 / Oracle - i.e same physical database instance - but in a different location within that database.

This is a bad analogy but havent much time - however when querying a table you would type

select * from <database>.<tablename> - and it is the first bit that could be the issue, if omitted it defaults to the 'database' specified in the connector stage

am not on datastage at mo - but maybe worth checking how you have specified the Error table and Log Table names in the connector stage (i.e. have you used the <database>.<errortable> notation - and is it differnet to the main table notation
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No worries, if database = schema then never mind. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ppgoml
Participant
Posts: 58
Joined: Mon Aug 20, 2007 11:00 pm

Post by ppgoml »

as far as I know, TD fastload requires an empty target table.
Jack Li
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DataStage TD Connector includes some clever code that allows fastload to append.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

As per fast Load whenever the job aborted you have clean up the ERROR table.
So ask your DBA to clean up the ERROR table and then try to rerun. Before reruns ask DBA to check the proper permission is there for your id or application id.


Thanks
Man
Post Reply