The odbcversion utility displays information about the ODBC driver.
-version – displays a simple numeric version string for the ODBC driver.
-fullversion – displays the verbose version string for the ODBC driver.
-connect dsn userid password – displays the Adaptive Server version and the version of ODBC and OLEDB MDA scripts installed on that Adaptive Server.
Three variables are required with this parameter: dsn, which is the data source name for the Adaptive Server, and the user ID and password used to connect to the Adaptive Server.