in reply to Need to test deprecated login

Deprecated logons are not allowed by administrator.

I would contact the Teradata administrator.

Upgrade client software to latest version.

I would upgrade the client software to the latest version.

I'm not sure with which of the two approaches you have problems, but neither of them sounds Perl related to me.