Libref未分配

时间:2018-01-02 12:00:38

标签: sas wrds wrds-compusat

我试图从TAQ,日常交易数据库查询数据。在SAS,我做了以下,但sas抱怨说,“图书馆不存在。”我确信路径是正确的。

%let wrds = wrds.wharton.upenn.edu 4016;options comamid = TCP remote=WRDS;
signon username=_prompt_;
*************************************************************************;
libname ct'/wrds/nyse/sasdata/taqms/ct';
rsubmit;

日志说:

NOTE: Libname CT refers to the same physical library as TAQMSE.
WARNING: Library CT does not exist.
NOTE: Libref CT was successfully assigned as follows:
      Engine:        V9
      Physical Name: C:\wrds\nyse\sasdata\taqms\ct
      rsubmit;
NOTE: Remote submit to WRDS commencing.

但是当我第一次登录到wrds服务器时,我看到了路径,第一个引擎给出了我想要使用的库的路径。我在设置图书馆时做错了什么?

NOTE: Libref TAQMSEC was successfully assigned as follows:
      Levels:           5
      Engine(1):        V9
      Physical Name(1): /wrds/nyse/sasdata/taqms/ct
      Engine(2):        V9
      Physical Name(2): /wrds/nyse/sasdata/taqms/cq

1 个答案:

答案 0 :(得分:3)

看起来好像是在尝试引用本地会话中的远程库。尝试在rsubmit;块中分配远程库之后运行以下内容(因此,在endrsubmit;语句之后):

 libname CT (TAQMSEC) server=WRDS;