To test the connection, you can use an ODBC-enabled client application. For a basic connection test, you can also use the test utilities that are packaged with your driver manager installation. For example, the iODBC driver manager includes simple utilities called iodbctest and iodbctestw.
You can use the iodbctest and iodbctestw utilities to establish a test connection with your driver. Use iodbctest to test how your driver works with an ANSI application, or use iodbctestw to test how your driver works with a Unicode application.
There are 32-bit and 64-bit installations of the iODBC driver manager available. If you have only one or the other installed, then the appropriate version of iodbctest (or iodbctestw) is available. However, if you have both 32- and 64-bit versions installed, then you need to make sure that you are running the version from the correct installation directory.
For more information about using the iODBC driver manager, see http://www.iodbc.org.
To test your connection using the iODBC driver manager:
?) to see a list of available DSNs.
If the connection is successful, then the
SQL> prompt appears.
If the connection fails, then you might need to provide a security token. For information about how to provide a security token in your DSN, see Creating a Data Source Name.