![]() |
VOOZH | about |
The CData ODBC driver for DB2 enables you to access DB2 data from Asprova. In this article, you will import DB2 data into item data in Asprova as an example.
Click File -> Data I/O Settings.
Double click the header of Item and open the Edit I/O dialog.
Select "No" from the RDB transaction combo box and close the dialog.
Select "OLE DB" from combo box in "Data source" column.
Click button in Folder/database column and open the Data Link Property dialog. Select "Microsoft OLE DB Provider for ODBC Drivers" from the list of data provider.
Select the Connection tab. Check "Use data source name" and select "CData DB2 Source" from DSN combo box.
Click the Test Connection button and make sure you see the message "Connection successful".
Click the button in "External table name" column and open the Table List dialog. Make sure tables in DB2 are listed in the dialog.
Click the button in "Field mapping" column and open the Item-Field Mapping dialog.
Open the context menu in the space between tables and click Delete All. Link corresponding fields by dragging mouse.
Click File > Import and data will be imported into Asprova.
Click Table View > Item. Be sure you can see the item data stored in DB2.
Download a free trial of the IBM DB2 ODBC Driver to get started:
Download NowLearn more:
π IBM DB2 IconThe IBM DB2 ODBC Driver is a powerful tool that allows you to connect with live data from IBM DB2, directly from any applications that support ODBC connectivity.
Access IBM DB2 data like you would a database - read, write, and update through a standard ODBC Driver interface.