When you configure the ODBC driver to connect to Adaptive Server, you create an ODBC data
source. You can configure more than one datasource for Adaptive Server. For example, you
might want one data source for each database.
Start
the ODBC Data Source Administrator (odbcad32.exe)
from the Windows System program group.
For more information about ODBC, see your Windows operating
system documentation.
Click the System DSN tab.
Click Add.
Select Adaptive Server ODBC Driver as the driver to use for Adaptive
Server, then click Finish.
Complete the ODBC Adaptive Server Setup dialog box:
Data Source Name – enter a short description of the Adaptive
Server. For example, if you are creating the data source to connect to a
specific Adaptive Server database, include the database name in the
description.
Description (optional) – a long description of a data source
name; for example, “Accounting database on Adaptive Server 3.”
Click the Options button.
Enter the name of the database to which to connect:
For a PowerDesigner connection, you need not specify a database unless you
want to reverse-engineer it. In this case, “reverse-engineer” means to
create a database and then determine its schema, rather than using the
normal process of creating the schema first and then creating the
database.
You can fill in values for the other parameters in the box. For information about each parameter,
see the online help or the ODBC Driver Reference Guide.
Click OK, and close the rest of the ODBC dialog boxes.
Exit the program.
You can now connect to
Adaptive Server from applications that require connections through
the ODBC Driver. When you start the application and it prompts you
for an ODBC data source, choose the data source you have just named
and configured.