qfliuwei 发表于 2009-12-25 13:09 
bobguy 发表于 2009-12-25 10:16 
1# qfliuwei
"ERROR: The SAS/ACCESS Interface to Teradata cannot be loaded. The SASTRA code appendage could
not be loaded.
ERROR: LIBNAME 语句出错。"
The error message looks to me that you do not have SAS/ACCESS to teradata license/product.
The correct syntax for SAS libname engine to access to teradata through ODBC is,
libname teradata odbc dsn="mytera" uid=&uid pwd=&pwd schema="Mydatabase";
mytera= your data source name registed in ODBC configuration
Mydatabase=database name
Meanings of other parameters impy by their names.
BTW, post more details in programs or logs will lead to a better solution/answer.
THT
谢谢您的回复
但是我看sas 的安装信息里面已经安装了 SAS/ACCESS呀,并且我又重新安装了另外一个版本的sas,结果还是连不上,是我电脑的问题吗?
Do you register the teradata source to the ODBC if you run SAS on PC?
You may run the following and see the log file if you have
---SAS/ACCESS Interface to Teradata 30SEP2010
see an Example below
**********************************;
proc setinit;
run;
System birthday: 24SEP2009.
Operating System: W32_WKS .
Product expiration dates:
---Base Product 30SEP2010
---SAS/STAT 30SEP2010
---SAS/GRAPH 30SEP2010
---SAS/ETS 30SEP2010
---SAS/FSP 30SEP2010
---SAS/OR 30SEP2010
---SAS/AF 30SEP2010
---SAS/IML 30SEP2010
---SAS/QC 30SEP2010
---SAS/SHARE 30SEP2010
---SAS/LAB 30SEP2010
---SAS/ASSIST 30SEP2010
---SAS/CONNECT 30SEP2010
---SAS/INSIGHT 30SEP2010
---SAS/EIS 30SEP2010
---SAS/SHARE*NET 30SEP2010
---MDDB Server common products 30SEP2010
---SAS/Secure Windows 30SEP2010
---OR OPT 30SEP2010
---OR PRS 30SEP2010
---OR IVS 30SEP2010
---OR LSO 30SEP2010
---SAS/ACCESS Interface to DB2 30SEP2010
---SAS/ACCESS Interface to ORACLE 30SEP2010
---SAS/ACCESS Interface to SYBASE 30SEP2010
---SAS/ACCESS Interface to PC Files 30SEP2010
---SAS/ACCESS Interface to ODBC 30SEP2010
---SAS/ACCESS Interface to OLE DB 30SEP2010
---SAS/ACCESS Interface to Teradata 30SEP2010
---SAS/ACCESS Interface to MYSQL 30SEP2010
---SAS Stat Studio 30SEP2010
---Available slot 538 30SEP2010
---SAS/ACCESS Interface to Netezza 30SEP2010
---SAS/ACCESS Reserved Slot 551 30SEP2010