The following is a data source template.
[sampledsn] Description=Sybase ODBC Data Source UserID=sa Password= Driver=Adaptive Server Enterprise Server=sampleserver Port=4100 Database=pubs2 UseCursor=1
To configure a data source for the ASE ODBC Driver
using the unixODBC Driver Manager command line tool
Execute the following command to configure a data source for the ASE ODBC Driver using the unixODBC command line tool:
# odbcinst -i -s -f dsn template file
where:
dsn template file is the complete path to the ASE ODBC Data source template file. This creates entries for the data source in the odbc.ini file.
The exact command you need to configure ODBC data sources
depends on the ODBC Driver Manager you are using.