In reply to Mark Adams.

Mark, I don't know whether you can set an environment variable "on the fly" and affect the TERADATA connection like this. I suggest working with SAS Technical Support (as you probably already are) for the best solution.