Page 1 of 1

Dynamic AI - IBM DB2 Express

PostPosted: Mon Jan 19, 2009 4:02 am
by Carsten Sørensen
Connecting Dynamic AI to IBM DB2 Express

IBM DB2 9 Express is a full featured hybrid relational and XML database system. It is provided free of charge for businesses, ISVs, application developers, students and hobbyists and anyone else who needs enterprise class data server without license costs.

The database is availble for download here:

http://www-01.ibm.com/software/data/db2/express/

You can connect to IBM DB2 either using OLEDB or ODBC. Usually the OLEDB connection is faster than the ODBC and the other benefit of the OLEDB connection is that you don't need to defined a ODBC connection before setting the connection up in Dynamic AI. Whether you choose ODBC or OLEDB the DB2 client OLEDB/ODBC software (included with a DB2 Express installation e.g.) needs to be installed.

OLEDB

To connect Dynamic AI to a IBM DB2 database, open the database connection screen in Dynamic AI and select IBM DB2 OLEDB from the Type list.

- If the server is local - you can leave it blank.
- Specifying Owner/Catalog is optional.
- Enter the Database name.
- Enter a valid username and password.

Image

ODBC

To get the connection to work, the ODBC driver for IBM DB2 should be installed. This can be checked in the Control Panel -> Administrative Tools -> ODBC Driver.

Under the tab System DSN select the IBM DB2 ODBC driver and press ‘Add’.

Image

The next screen will appear:

Image

- Enter a name for the data source. (this name is used in Dynamic AI)
- Enter a description (optional)
- Select the database name

Image

- Enter a valid username and password
- Test the connection by clicking "Connect"

Image

- Press ‘OK’

The data source is now installed and can be used in Dynamic AI.

To connect Dynamic AI to a IBM DB2 database, open the database connection screen in Dynamic AI and select IBM DB2 from the Type list.

Enter the ODBC name/System DSN (or create an ODBC connection - see below).

Specifying Owner/Catalog is optional.

Enter a valid username and password.

Image

Test the connection by pressing the ‘Test Connection’ button.

Click SAVE to save the connection. Now you should see the database in the database Explore and be able to browse and use Tables and Views of the database


Interested in a free Dynamic AI Personal edition? Download the latest version from: http://www.dynamicai.com/download.htm

Would you like a Dynamic AI Server edition trial version please contact: info@dataaccess.nl

If you have any questions, you are always welcome to contact one of our partners (more information available at: www.dynamicai.eu , www.dynamicai.com) in your country, or e-mail your questions directly to: info@dataaccess.nl




Copyright © 1998-2009 CINTAC A/S and/or its suppliers. All rights reserved. Dynamic AI ™, Dynamic Financials ® and CINTAC Dynamic are registered trademarks or trademarks of CINTAC A/S.
IBM, System x and X-Architecture are trademarks of the International Business Machines Corporation in the United States and/or other countries.