Good day everyone,
i am using below code to show my temporary library in my log.
proc datasets lib=work;
quit;run;
C:\Users\1234567\AppData\Local\Temp
can i place this path to my libname by using program?
like below
libname "C:\Users\1234567\AppData\Local\Temp";
Best Regards,
Harry
@harrylui wrote:
can i place this path to my libname by using program?
like below
libname "C:\Users\1234567\AppData\Local\Temp";
Your statement is wrong. You have to give a name in the LIBNAME statement.
libname name "C:\users\1234567\appdata\local\temp";
Side comment: don't put user created data sets inside of APPDATA on Windows. Put them somewhere else, like DOCUMENTS, which is a place designed for user created data.
@harrylui wrote:
can i place this path to my libname by using program?
like below
libname "C:\Users\1234567\AppData\Local\Temp";
Your statement is wrong. You have to give a name in the LIBNAME statement.
libname name "C:\users\1234567\appdata\local\temp";
Side comment: don't put user created data sets inside of APPDATA on Windows. Put them somewhere else, like DOCUMENTS, which is a place designed for user created data.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.