Connecting using a data source

ODBC applications usually use data sources 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 data source, in either the system registry or ini files. If you have a data source, your connection string can simply name the data source by using the DataSourceName (DSN) connection parameter:

DSN=my data source