BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Ronein
Meteorite | Level 14

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)

Ronein_0-1715243691901.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
3 REPLIES 3
Ronein
Meteorite | Level 14

I found the solution!~

options dlcreatedir;
libname PanelOsh "/usr/local/SAS/SASUsers/LabRet/Credit_Scoring_Users/";

Is it necessary to write options dlcreatedir?? Why?>

Kurt_Bremser
Super User

@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.

Kurt_Bremser
Super User

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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 669 views
  • 2 likes
  • 2 in conversation