A custom driver name can be created using the instdrv tool. By default, the tool is located in /Library/Application Support/teradata/client/16.20/odbc/bin/odbcinst.ini file to include more driver names.
For example, suppose the driver name Teradata is hardcoded in your application and you need to connect using the driver name Teradata rather than the default name of Teradata Database ODBC Driver 16.20. Navigate to the directory that contains the instdrv tool and execute the following command:sudo ./instdrv -i "Teradata;Driver=/Library/Application Support/teradata/client/16.20/lib/tdata.dylib;Setup=/Library/Application Support/teradata/client/16.20/lib/TeradataODBCSetup.bundle/Contents/MacOS/TeradataODBCSetup"
Below is the resulting odbcinst.ini file with two driver names for the16.20 driver.
The odbcinst.ini for SEN on Mac OS:
[ODBC Drivers] Teradata Database ODBC Driver 16.20=Installed [Teradata Database ODBC Driver 16.20] Description=Teradata Database ODBC Driver 16.20 Driver=/Library/Application Support/teradata/client/16.20/lib/tdataodbc_sbu.dylib Setup=/Library/Application Support/teradata/client/16.20/lib/TeradataODBCSetup.bundle/Contents/MacOS/TeradataODBCSetup