未分配 Libref

Libref is not assigned

我正在尝试从 TAQ(每日交易数据库)查询数据。在 SAS 中,我做了以下操作,但 sas 抱怨说,"Library does not exist." 我确定路径是正确的。

%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

您似乎正试图在本地会话中引用远程库。在 rsubmit; 块中分配远程库后,尝试 运行 以下操作(因此,在 endrsubmit; 语句之后):

 libname CT (TAQMSEC) server=WRDS;