Sybase IQ Wire Protocol Driver - problem with inserting data

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
ascen
Premium Member
Premium Member
Posts: 67
Joined: Wed Apr 12, 2006 6:47 am
Contact:

Sybase IQ Wire Protocol Driver - problem with inserting data

Post by ascen »

Hi,

We have issue with ODBC Connector stage. Trying to insert data into table in sybase IQ 15.4 using native driver 'Sybase IQ Wire Protocol Driver'. Error message is as below

Peek_5,0: DTKP_ID:5 RejectERRORCODE:207 RejectERRORTEXT:[IBM(DataDirect OEM)][ODBC Sybase IQ Wire Protocol driver][Sybase IQ]SQL Anywhere Error -143: Column '@0001' not found

Reject is for every record , and it is most simple insert with test data:

INSERT INTO S0065.test(DTKP_ID) VALUES(ORCHESTRATE.DTKP_ID)

Any ideas what is the matter of the problem?
<a href="http://www.master-data.pl">
<b>
Polish MDM, CDI, ETL, ESB and DQ forum
</b>
</a>
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Does this happen only for this table or for all tables?
What happens if you let DataStage create the insert statement, i.e. just pass the one column, DTKP_ID, to the insert statement.
ascen
Premium Member
Premium Member
Posts: 67
Joined: Wed Apr 12, 2006 6:47 am
Contact:

Post by ascen »

It happens for all tables and it fails in both situations when statement is given explicitly and when DS generates statement. Is there chance that character conversions has something to do with this issue?
<a href="http://www.master-data.pl">
<b>
Polish MDM, CDI, ETL, ESB and DQ forum
</b>
</a>
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Doesn't sound like any kind of character conversion issue to me but who knows. Time to involve support if you haven't done so already.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

If you have special characters like '@' in column names then you need to quote it properly. The connector should know the valid quote character. Have it generate the statement with quote characters. Then try it.
Mamu Kim
ascen
Premium Member
Premium Member
Posts: 67
Joined: Wed Apr 12, 2006 6:47 am
Contact:

Post by ascen »

Column names does not contains special characters. We will report issue to support
<a href="http://www.master-data.pl">
<b>
Polish MDM, CDI, ETL, ESB and DQ forum
</b>
</a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

ascen wrote:Column names does not contains special characters. We will report issue to support
Then why does the error message complain of a column called "@0001"? Maybe your design metadata has "@" in column names - if so how did it get there?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

That should be an internal placeholder when constructing a query explicitly using the ORCHESTRATE.nnnn names; but shouldn't be in use when doing a plain-vanilla insert with just the one column.

Hmmm.. Are you using RCP in this job and are there perhaps more than the 1 column in the data stream going to the stage?
Post Reply