由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教:SAS
相关主题
SAS adv 130题两问,快考了,urgentSAS question
新手问个问题 (转载)SAS菜鸟请教如果使SAS的output的结果放到一个文件内?
怎么快速将 大的暂时sas data 存为永久sas data?SAS Technical Interview Questions
求助关于sas macro 中的if- then语句一道sas题 在线求解 50个包子答谢 急啊
发包子求大牛解SAS问题,急SAS: how to build a timer
why this error in %if statement问一个SAS macro的问题
SAS 一问. 谢谢!请问关于交易量的一个SAS编程问题
SAS adv NEW Q23求助:一个SAS的小问题
相关话题的讨论汇总
话题: sas话题: temporary话题: saswork话题: prdwtsas01话题: ralp
进入Statistics版参与讨论
1 (共1页)
z**o
发帖数: 149
1
大家知道怎么设置才能在SAS关了之后,work里面的data不被删掉?
多谢!
k******u
发帖数: 250
2
work里本来就是临时的,要存成permanent的lib才可以
j********t
发帖数: 201
3
There are two ways to do so:
1) as the other reply said, you save your data in a permanent library using
libname statement.
2) You can also find the temporary folder where work is located with the
following statement:
%put %sysfunc(getoption(work));
then you can use system command to move the files into a permanent location.
1) is commonly used.
2) is rarely used. It seems to take an "unnecessary" lengthy road. However
, when you want to use system commands that are outside of SAS session, 2)
can be a power user's approach.
But remember the temporary folder is really "TEMPORARY", you can see the
following two locations run on two SAS sessions:
f:\saswork\username\_TD35040_RALP-PRDWTSAS01_
f:\saswork\username\_TD61540_RALP-PRDWTSAS01_
z**o
发帖数: 149
4
讲的好具体,多谢大牛!

using
location.
However

【在 j********t 的大作中提到】
: There are two ways to do so:
: 1) as the other reply said, you save your data in a permanent library using
: libname statement.
: 2) You can also find the temporary folder where work is located with the
: following statement:
: %put %sysfunc(getoption(work));
: then you can use system command to move the files into a permanent location.
: 1) is commonly used.
: 2) is rarely used. It seems to take an "unnecessary" lengthy road. However
: , when you want to use system commands that are outside of SAS session, 2)

D******n
发帖数: 2836
5
sas -noworkterm xxx.sas

【在 z**o 的大作中提到】
: 大家知道怎么设置才能在SAS关了之后,work里面的data不被删掉?
: 多谢!

1 (共1页)
进入Statistics版参与讨论
相关主题
求助:一个SAS的小问题发包子求大牛解SAS问题,急
问个简单的SAS问题!why this error in %if statement
急问一个SAS 的常见问题SAS 一问. 谢谢!
SAS里用macro的文件名里数字的问题SAS adv NEW Q23
SAS adv 130题两问,快考了,urgentSAS question
新手问个问题 (转载)SAS菜鸟请教如果使SAS的output的结果放到一个文件内?
怎么快速将 大的暂时sas data 存为永久sas data?SAS Technical Interview Questions
求助关于sas macro 中的if- then语句一道sas题 在线求解 50个包子答谢 急啊
相关话题的讨论汇总
话题: sas话题: temporary话题: saswork话题: prdwtsas01话题: ralp