A custom driver name can be created using the instdrv tool. By default, the tool is located in /Library/Application Support/teradata/client/17.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 17.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/17.20/lib/tdata.dylib;Setup=/Library/Application Support/teradata/client/17.20/lib/TeradataODBCSetup.bundle/Contents/MacOS/TeradataODBCSetup"
Below is the resulting odbcinst.ini file with two driver names for the 17.20 driver.
The odbcinst.ini for SEN on Mac OS:
[ODBC Drivers] Teradata Database ODBC Driver 17.20=Installed [Teradata Database ODBC Driver 17.20] Description=Teradata Database ODBC Driver 17.20 Driver=/Library/Application Support/teradata/client/17.20/lib/tdataodbc_sb64.dylib Setup=/Library/Application Support/teradata/client/17.20/lib/TeradataODBCSetup.bundle/Contents/MacOS/TeradataODBCSetup