SQL Server to AS/400

Posted on 2001-07-24
Last Modified: 2008-03-03
Hi..  I am trying to connect SQL server to AS/400.  
I believe we setup a DSN to AS/400 and use OLE DB to connect SQL Server to that DSN and get this problem..
Any suggestions?

Server: Msg 7399, Level 16, State 1
OLE DB provider `MSDASQL` reported an error. A provider-specific error
[OLE/DB provider returned message: [Microsoft][ODBC Driver Manager] Driver`s
SQLSetConnectAttr failed]
[OLE/DB provider returned message: [IBM][Client Access ODBC Driver
(32-bit)][DB2/400 SQL]Communication link failure. COMM RC=0x3]"
Question by:Sieger
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 13

Expert Comment

ID: 6331069
Are you using Client Access as means of connecting to AS400?

Author Comment

ID: 6331259
Yes i am.

Expert Comment

ID: 6402521
I've experience this same problem.  I beleive it may be a shortcoming of the Client Access OLE DB provider.  A workaround would be to create an ODBC datasource to the 400 and connect through that instead.  We've done this and it works well.

Expert Comment

ID: 6890974
Please update and finalize this old, open question.

Accepted Solution

aaronkempf earned 100 total points
ID: 7045728
ive had the same problem; and i dont think that mFausts' answer is anything revolutionary..

i cant create the ODBC, or the OLE connection using V4 of the As400 Client Access Express drivers.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Routing remote iSeries IP printing through a VPN tunnel 4 481
RPG to c# 3 394
AS/400 ODBC Connection 4 82
RAID 1 - Problem with Data 8 94
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question