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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Find out which object is not saved 2 174
Compile Issue with Cusor Loction Solution 3 153
AS/400 Backup to Disk 7 357
RAID 1 - Problem with Data 8 60
With more and more people tethered to the internet, advertisers can reach you in new and creative ways. Push notifications on your smartphone, customized advertisements based on your previous searches, and email inboxes filled with promotional pitch…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now