Solved

SQL Server to AS/400

Posted on 2001-07-24
5
413 Views
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
occurred.
[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]"
0
Comment
Question by:Sieger
5 Comments
 
LVL 13

Expert Comment

by:samic400
ID: 6331069
Are you using Client Access as means of connecting to AS400?
0
 
LVL 1

Author Comment

by:Sieger
ID: 6331259
Yes i am.
0
 

Expert Comment

by:mfaust
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.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6890974
Please update and finalize this old, open question.
Moondancer
0
 
LVL 1

Accepted Solution

by:
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.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
End iSeries Job Programmtically 13 463
rpg d specs 5 109
iSeries - Library Change Date 2 104
*Blast from the Past*  How can I restore Office Vision folders from Backup Tape 5 52
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
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…

828 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