I succeeded created a file in “my libraries’” using libname statement, but the file disappeared after I logged off SAS studio?
@superbibi wrote:
Do you mean I have to run the libname statment each time I open SAS to let the file in "my libaries"?
Yes, or you can add them to your autoexec to have them set up whenever you initialize SAS. You can access the autoexec from the menu at the top right hand corner.
Does it mean all the files created in "my libraries" is not permanent stored in "my libraries"?
No, the files are still there even if the libname isn't. A libname is a pointer to a directory (or file) and the directory still exists.
The file did not disapear.
Recreate your libname statment and save it as a program;
Run it firstly after initiating SAS. You will find the file in the library.
Thank you Shmuel. I know the file is still in "my file". But it is not in "my libraries". Do you mean I have to run the libname statment each time I open SAS to let the file in "my libaries"? Does it mean all the files created in "my libraries" is not permanent stored in "my libraries"?
@superbibi wrote:
Do you mean I have to run the libname statment each time I open SAS to let the file in "my libaries"?
Yes, or you can add them to your autoexec to have them set up whenever you initialize SAS. You can access the autoexec from the menu at the top right hand corner.
Does it mean all the files created in "my libraries" is not permanent stored in "my libraries"?
No, the files are still there even if the libname isn't. A libname is a pointer to a directory (or file) and the directory still exists.
Thank you.
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!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.