Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / June 2006

Tip: Looking for answers? Try searching our database.

AS400 and SQL DTS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
accyboy1981 - 21 Jun 2006 09:56 GMT
Hi,

I'm new to AS400 and am trying to copy the contents of a table from an
SQL Server 2000 table to a table in AS400, I'm doing this using DTS.
I'm connecting using the iSeries Access ODBC Driver.

Both the tables in both tables are identical in terms of columns and
primary keys etc.

I can copy the data from AS400 to SQL Server without any problems, but
when I try to copy it the other way (SQL Server to AS400) I get an
error. The update statement I'm using in my DTS is:

INSERT
INTO JHTEST ( PARENT, COMPNT, DESC )
VALUES ( ?, ?, ? )

But every time I click the Parse button in DTS the following error
appears:

HResult of 0X80040e14 (-2147217900) returned
Unexpected error occureed. An error result was returned without an
error message.

Is the insert statement running correct?

Does the column DESC need to be in quotes or square brackets as its a
key word as in SQL?

Also could the problem be a problem with concurrency within the AS400?

Any help or alternative to this would be much appreciated.

Thanks

Simon
Larry - 21 Jun 2006 13:42 GMT
> Hi,
>
[quoted text clipped - 32 lines]
>
> Simon

This sounds like a question for Microsoft. You need to find out whether
DTS has capabilities to provide seamless access to the AS/400 or not. I
suspect it doesn't. If it's using ODBC or one of the Microsoft APIs, you
can use IBM's DB2 Connect to access DB2 on the AS/400.

Larry Edelstein
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.