Connections Using a Datasource

ODBC applications usually use datasources on the client computer for each database you want to connect to.

You can store sets of Adaptive Server Enterprise connection parameters as an ODBC datasource, in either the system registry or ini files. If you have a datasource, your connection string can simply name the datasource by using the DataSourceName (DSN) connection parameter:

DSN=my data source