Hello everyone,
Could you tell me where is the physical location of work folder(temporary library)?
Thanks!
Or, Macro method.
%let work_path=%sysfunc(pathname(work));
%put &work_path ;
Ksharp
Hi Mike,
Right click on the work library and you can find the work library path.
or you can see it in sasv9.cfg file.
Thanks,
Shiva
This code will show it:
proc sql;
select path from dictionary.libnames
where libname='WORK';
quit;
If you're using windows with a default installation the library will change every time you start SAS.
Or, Macro method.
%let work_path=%sysfunc(pathname(work));
%put &work_path ;
Ksharp
If the fileref is on a remote Unix server,How to do this?
Thanks
Ksharps method should work with external files as well.
George
Ksharp's method works (or reduce it to one statement
%put %quote( %sysfunc( pathname(work)) );
) with %quote() added to protect any special characters in the physical path
, if you execute it in the sas session in the "remote Unix server" you referred to.
or if you prefer to avoid the macro language, just
rsubmit ;
libname work list ;
endrsubmit ;
peterC
I am not sure, but you can check dictionary table "dictionary.EXTFILES" to see whether it exist there .
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.