Hello
I would like to create a new library called PanelOsh .
The following code is not creating the library folder
libname AAA '/usr/local/SAS/SASUsers/LabRet/Credit_Scoring_Users/PanelOsh';
What is the way to create the library folder?
When I click right click on library then I dont see option to create a new folder (The library name)
With system option DLCREATEDIR set, the directory will be created when the LIBNAME statement is issued. You must, of course, have the necessary permissions in the filesystem.
I found the solution!~
options dlcreatedir;
libname PanelOsh "/usr/local/SAS/SASUsers/LabRet/Credit_Scoring_Users/";
Is it necessary to write options dlcreatedir?? Why?>
@Ronein wrote:
I found the solution!~
options dlcreatedir; libname PanelOsh "/usr/local/SAS/SASUsers/LabRet/Credit_Scoring_Users/";
Is it necessary to write
options dlcreatedir?? Why?>
Maxim 1: Read the Documentation.
On Windows and UNIX, the default is NODLCREATEDIR.
With system option DLCREATEDIR set, the directory will be created when the LIBNAME statement is issued. You must, of course, have the necessary permissions in the filesystem.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.