楼主: qfliuwei
12509 23

sas无法连接上Teradata数据库,错误如下,请高手指教 [推广有奖]

  • 0关注
  • 0粉丝

已卖:137份资源

博士生

34%

还不是VIP/贵宾

-

威望
0
论坛币
419 个
通用积分
0.0076
学术水平
1 点
热心指数
1 点
信用等级
0 点
经验
4388 点
帖子
140
精华
0
在线时间
366 小时
注册时间
2006-4-26
最后登录
2025-5-22

楼主
qfliuwei 发表于 2009-12-24 16:36:55 |AI写论文
20论坛币
ERROR: The SAS/ACCESS Interface to Teradata cannot be loaded. The SASTRA code appendage could
       not be loaded.
ERROR: LIBNAME 语句出错。

但是我看sas 的安装信息里面已经安装了 SAS/ACCESS呀,并且我又重新安装了另外一个版本的sas,结果还是连不上,是我电脑的问题吗?
这是什么原因呢,求指教了!!!!!

关键词:Teradata Data Era 数据库 interface 高手 SAS 数据库 指教 Teradata

沙发
qfliuwei 发表于 2009-12-25 09:50:23
没有人会吗

藤椅
bobguy 发表于 2009-12-25 10:16:26
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
已有 1 人评分经验 学术水平 热心指数 收起 理由
crackman + 100 + 1 + 2 可以参考一下

总评分: 经验 + 100  学术水平 + 1  热心指数 + 2   查看全部评分

板凳
qfliuwei 发表于 2009-12-25 13:09:15
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,结果还是连不上,是我电脑的问题吗?

报纸
bobguy 发表于 2009-12-26 00:30:38
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
已有 1 人评分学术水平 热心指数 收起 理由
qfliuwei + 1 + 1 解答详细

总评分: 学术水平 + 1  热心指数 + 1   查看全部评分

地板
qfliuwei 发表于 2009-12-28 12:33:10
谢谢楼上兄弟,我已经看过
proc setinit;
run;
的运行结果了---SAS/ACCESS Interface to Teradata  ,是有的。
可是还是连不上

7
laomm002 发表于 2009-12-28 21:46:24
跟着学一下
顺便顶一下

8
qfliuwei 发表于 2010-1-4 10:55:37
怎么没有人回答呢

9
nkwilling 发表于 2010-1-4 11:28:26
首先,PROC SETINIT出来的只是菜单,并不代表你就有这道菜(Teradata)。
其次,你是在公司还是在家里链接Teardata?是用LIBNAME方式还是用PASSTHROUGH方式链接的?你都没有说清楚,就直接给格ERROR,别人是无法回答的。
最后,如果你购买的是正版的SAS,关于ACCESS的问题最好和SAS的技术支持联系。SAS与外部数据库链接的问题是要SAS的技术支持人员做售后服务的,不过能自己搞定最好自己搞定。

10
qfliuwei 发表于 2010-1-5 15:18:07
我是在公司用libname 方式连接的,我用proc sql 可以连得上,
用的是盗版,所以不好意思 无法联系客服

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 15:25