Overview of the iSeries Access ODBC driver

 

Provides a general description of ODBC, and how you can use it with iSeries Access for Windows.

The iSeries Access ODBC driver is a collection of application programming interfaces (APIs) for accessing database information using Structured Query Language (SQL). Using the iSeries Access ODBC driver allows applications to access different databases using the same source code, and to handle data in the format most convenient for those applications. ODBC provides an application developer a relatively simple model for creating portable applications or components that must deal with multiple DBMSs.

The ODBC architecture involves an application, driver manager, ODBC driver, and a data source. iSeries Access provides both a 32-bit and 64-bit ODBC driver. The 64-bit ODBC driver is automatically installed along with the 32-bit ODBC driver when running under a 64-bit version of Windows® . ODBC applications running in 64-bit versions of Windows will automatically use the appropriate ODBC driver, depending on what bit version the application was compiled for. For example, the 64-bit driver can only be used by a 64-bit application.

In order for an application to use ODBC set up a data source. You can use the ODBC Administrator to set up a data source. There are two versions of the ODBC Administrator, 32-bit and 64-bit, that can be accessed from the iSeries Access for Windows folder. When using ODBC Administrator, you have the option to setup three different types of data sources: User, System, and File data sources. For more information about how data sources are configured, see 64-bit ODBC Support, in the iSeries Access for Windows' User's Guide.

Application. Performs processing and calls ODBC functions to run SQL statements.

Driver manager. Processes ODBC function calls and forwards the requests to the driver.

Driver. Processes ODBC function calls, submits SQL requests to a specific data source, and returns results to the application.

Data source. To use a data source you have to create a Data Source Name (DSN). A DSN contains information about how to access the DBMS. You can specify any of the following DSNs:

For more information about ODBC, refer to the Microsoft® Web site.

 

Parent topic:

ODBC administration
Related tasks
Specify the ODBC data source