@anjicamsas
Googling with keyworrds: sas libname name not in HOSTS file or names database
...let me find the following SAS Note which should explain it: http://support.sas.com/kb/54/851.html
You could also try and add libname option SERVER='<name of teradata server> and see it this helps.
http://support.sas.com/kb/57/679.html
... View more