简体   繁体   English

sas 中如何将资源管理器中存在的数据集放入我的库中?

[英]How can I get a data set that exists in my explorer get into my library in sas?

I am relatively new to sas. I have a data set in one of my folders among the Explorer but I need to have it in my Library called WORK so that I can use it, the file ends with.sas7bdat How can I do that?我对 sas 比较陌生。我在 Explorer 中的一个文件夹中有一个数据集,但我需要将它放在我的名为 WORK 的库中,以便我可以使用它,文件以 .sas7bdat 结尾我该怎么做?

You don't need it in your WORK to work with it.你不需要在你的WORK中使用它。

To use MY_TABLE.sas7bdat in c:\my\path , you just declare a library libname MY_LIB 'c:\my\path';要在c:\my\path中使用MY_TABLE.sas7bdat ,您只需声明一个库libname MY_LIB 'c:\my\path'; , which you then use (more or less) as a tables-space or Db2 schema. ,然后您(或多或少)将其用作表空间或 Db2 架构。 For instance例如

  • data MY_DATA; set MY_LIB.MY_TABLE;
  • select... from MY_LIB.MY_TABLE where...;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM