SAS中文论坛

标题: ask for help on open() function [打印本页]

作者: shiyiming    时间: 2011-9-29 03:51
标题: ask for help on open() function
data a;
x=1;
data b;
y=2;
run;

%let dsida=%sysfunc(open(a));
%let dsidb=%sysfunc(open(b));
%let dsida=%sysfunc(open(&dsida.));
%let dsidb=%sysfunc(open(&dsidb.));

I tried the cod above(just try to open datasets a and b, and then close them), looks good, but datasets a and b are open, and I can not close them even I used close() function. and re-run it, give me errors. both a and b are not be closed.
anything is wrong with my code, somebody could help me? Thanks a lot.
作者: shiyiming    时间: 2011-9-29 14:45
标题: Re: ask for help on open() function
Your description is not clear. Please clarify your question, so somebody can help you. cheers




欢迎光临 SAS中文论坛 (http://mysas.net/forum/) Powered by Discuz! X3.2