TDMSTPORT
If the gateway to the Teradata server to which the application is trying to connect is listening on a port other than the default of 1025, applications can set this variable to the appropriate port. This can be done instead of changing the entry in the services file.