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 .
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.