You are on page 1of 8

Synergix Technologies

Use Microsoft Access to get database from DB2


Server

1. Install DB Driver.

2. From the Microsoft Windows Control Panel, go to Administrative Tools icon


and the then choose the Data Sources (ODBC) icon

3. Choose the Add... button under the "User DSN" tab

1
Synergix Technologies

4. From the subsequent "Create New Data Source" screen, choose the IBM DB2
ODBC DRIVER, and click Finish. Note that this option only shows up if you
installed the DB2 ODBC Driver component.

5. Type Data source name then Click on Add button, dont care about the
existing alias

2
Synergix Technologies

6. Type your UserID and Password which was set on DB2 server

7. On tab TCP/IP, type your database name, DB2 Server IP, note that the port
is 50000.

3
Synergix Technologies

8. Now you can see your new DSN

Link Access to your DB2 tables:


1. From Microsoft Access, go to File > New, and select Blank database

4
Synergix Technologies

2. From the subsequent screen, right click Tables under Objects, and choose
the Link Tables... context option.

3. On the subsequent Link screen, from the Files of Type: pull-down menu,
choose the ODBC Databases() option

5
Synergix Technologies

4. On the Select Data Source screen, choose the Machine Data Source tab. In
this tab, you should see the example data source you established earlier.
Select this, and click OK.

6
Synergix Technologies
5. You will see a list which shows all of your table inside your database, select
one item

6. You will see it as a new item on the Tab: tables

7
Synergix Technologies

7. Double click on the newly created DB2ADMIN_ACCESS_TH2 icon. In doing so,


you should be presented with the data housed in your
DB2ADMIN.ACCESS_TH2 table:

You might also like