I'm kind of confused about what a library is. I think it's just a folder that contains folders and files, but this is not clear to me. If a library doesn't have any files (but rather has files in subfolders), will files not be accessible? Would we/can therefore add another libref to a subfolder to access those files within subfolders?
Whatever folder(s) the LIBNAME statement mentions must contain the SAS data set files. SAS doesn't look in subfolders, unless you specifically state the subfolder in the LIBNAME statement.
Would we/can therefore add another libref to a subfolder to access those files within subfolders?
Other way around ... add a subfolder to the LIBNAME statement.
I have a question about library in SAS ODA. In the screenshot shared below, please see the library 'CURESDAY', which was originally created as a SAS ODA library and it used to be displayed as a library under 'My Library' folder. However, from yesterday I don't see that library listed under 'My library'. Instead, I see it under files table. Also, please note that 'Files (Home)' used to be displayed on the left-hand panel of the screen, but it is currently now showing there either.
Please advise on how I can see my "CURESDAY" library and 'My Files (home)' items on the left hand side of my SAS ODA screen as it was shown earlier until yesterday evening.
Thank you in advance for your advice.
With regards,
Cool feature in SAS Studio is you can right-click on a folder when in the Server Files and Folders tab, & then select Create -> Library. This will bring up a pop-up window where you can supply the libref for this folder & also check a box to assign the library every time you start SAS Studio so you never have to do this again (librefs are deleted when you close or reset your SAS session).
Note: This only works for creating Base SAS libraries.
Thank you for your advise. But I beleive I could convey my encountered issue clearly. I wanted to mean that my encirled folders in blue line were once shown on the left hand side menu, but at present they seem to have disappeared from the left hand side menu. How can I bring these essential folders such as "odaws01-ws2' folder , 'File (home)' , and a library folder named 'curesday' etc. back to left hand side menu? Thank you once again. (please see the screenshot in this regard shared below and also attached as PDF file. Thank you.)
Thank you Mr. Grant for your response!
Please see attached the screen shot in pdf format (the same screenshot is copied below in .jpeg format).
Please note that at present i don't see 'odaws01' folder, "files (home)" folder, and "CURESDAY" folder on the left hand side.
But they were available on the left hand side menu a previously. Something has happened, causing them to disappear (aparently to to another location that I am having issues in relocating).
Thank you.
Thanks for screen shot. So you've lost your Server Files and Folders tab. This is an easy fix. Go to the icon on Top Right that looks like a hamburger & click & select View. Then check the Server Files and Folders. Somehow it got un-selected.
Many thanks!.
Solved my own problem with not seeing my library folders.
Hi,i'm strugling with the restarting of pg1 library
"
Reminder: If you restarted your SAS session,you must recreate the PG1 library so you can access your practice files. In SAS Studio, open and submit the libname.sas program in the EPG1V2 folder. In Enterprise Guide, run the Autoexec process flow."
and my syntax to this is
libname pg1"/home/u63850715/EPG1V2/data";
after all this the library also successfully creating but it is empty,
pull me out from this stuck.
Did you submit the SAS commands in libname.sas in the EPG1V2 folder??
What are the commands in libname.sas?
no specific commands are there in libname.sas it was coded to create library in previous lessons, now it is asking for recovery,but when i'm opening the file in EPG1V2 FOLDER.
I'm providing the attachment of my screen shot.
I never download attachments. Please paste the screen capture into your reply, or include it using the "Insert Photos" icon.
@u63850715 wrote:
no specific commands are there in libname.sas it was coded to create library in previous lessons, now it is asking for recovery,but when i'm opening the file in EPG1V2 FOLDER.
I'm providing the attachment of my screen shot.
This seems to contradict what you said earlier, which I believe is from the instructions you received: "If you restarted your SAS session,you must recreate the PG1 library so you can access your practice files. In SAS Studio, open and submit the libname.sas program in the EPG1V2 folder"
Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.
Find more tutorials on the SAS Users YouTube channel.