version 2.0

2020-05-29,
bug fix for the WORK and USER library
This commit is contained in:
yabwon
2020-05-29 16:04:03 +02:00
parent af60e31b56
commit 20c021660a
5 changed files with 75 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
proc sort data=sashelp.class out=test1;
by age name;
run;
data class;
set %SQL(select * from sashelp.class order by age, name);
run;
proc compare base = test1 compare = class;
run;

View File

@@ -0,0 +1,29 @@
data class_work;
set sashelp.class;
run;
data test_work;
set %sql(select * from class_work);
run;
options dlcreatedir;
libname user "%sysfunc(pathname(work))/user";
%put *%sysfunc(pathname(user))*;
data cars_user cars_user2;
set sashelp.cars;
run;
data test_user;
set %sql(select * from cars_user);
run;
data test_user2;
set %sql(select * from user.cars_user2);
run;
libname user clear;
%put *%sysfunc(pathname(user))*;
proc datasets lib = work;
run;