AS400 & SQL SERVER 2000

  • Hi

    I need to extract data from AS400 to SQL SERVER 2000.

    Which is the best way to do this so that i can show live reports by updating my table after some time interval?

    I have iSeries Navigator version 5 Installed on my server but it's new for me is it helpful? Right now i am using Routeone for extraction.

    Thanks

     

  • Create a DSN on the SQL Server box using the Client Access ODBC driver.

    This DSN should point to the AS400 libraries you want to use.

    Add the AS400 server as a linked server to the SQL Server, using the DSN you created as the provider string, thus DSN=<YOUR DSN NAME>.

    Product should be DB2

    You should then be able to directly query your AS400 tables using something like this:

    SELECT * FROM OPENQUERY(<your linked server name>, 'SELECT * FROM <DATABASENAME>.<LIBRARYNAME>.<TABLENAME>')

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply