Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««123

Updating AS/400 Linked Server Tables from SQL Server Expand / Collapse
Author
Message
Posted Friday, October 2, 2009 10:05 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 8, 2010 6:48 AM
Points: 8, Visits: 14
I´m using the iSeries Access ODBC Driver to connect to AS/400, and it works from .NET using this connection string:

"DataSource=10.254.xxx.xxx;DataBase=S1018689;UserId=yyy;Password=zzz";

I want to create a linked server with this parameters but I don’t quite know where to put mi conecction string parameters in the wizard.

Could any one help me
Post #797053
Posted Friday, October 2, 2009 10:57 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 8, 2010 6:48 AM
Points: 8, Visits: 14
I also have created and test an UDl file to connect to AS/400. After creating an testing the connection the result of the connection string is:

Provider=IBMDA400.DataSource.1;Persist Security Info=False;User ID=SQLODBC1;Data Source=10.254.xxx.yyy

I need to create a Linked Server from SQL SERVER 2005 to AS/400 (the above connection)

Can anyone help me?
Post #797088
Posted Friday, February 5, 2010 2:37 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, January 17, 2014 11:14 AM
Points: 9, Visits: 50
I have struggled with this in the past and have created a step by step document (attached) showing how you can create a linked server to the iSeries (or AS/400).

Note that you must already have iSeries Access installed on your SQL Server box.

Good luck!

/al

Note: Thanks go to JHeil at SQL Server Forums for the tip at

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49610


  Post Attachments 
Linked Server.doc (107 views, 341.00 KB)
Post #860856
Posted Wednesday, March 10, 2010 12:54 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, February 5, 2013 3:38 PM
Points: 3, Visits: 60
I know this article is a bit old, but it should be updated. I had the exact same problem. Journaling needs to be turned on for the table you are trying to update, or insert on the AS400.
Post #879984
« Prev Topic | Next Topic »

Add to briefcase «««123

Permissions Expand / Collapse