Learning SAS? Welcome to the exclusive online community for all SAS learners.

Trying to create a library

Reply
New Contributor
Posts: 3

Trying to create a library

trying to create library in my SAS university edition using code

libname perm "/folders/myfolders";

 

I can see that library has been created but I am unable to see my dataset which I have saved in "myfolders" 

I have also shared "myfolders" in my VM

 

sas libname.PNGlibrary has been created but NO content. PLease help

 

 

 

Super User
Posts: 10,571

Re: Trying to create a library

Posted in reply to arpisaxena

How did you "save your dataset" in myfolders? Did you copy a file there, and if yes, what kind of file?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
New Contributor
Posts: 3

Re: Trying to create a library

Posted in reply to KurtBremser

Hi 

yes I copy SAS data set file to myfolders.

Kind of file is    .sas7bdat

 

I more thing I have noticed that when I am using PROC Export then I am unable to see my exported xls file in myfolders

Super User
Posts: 10,571

Re: Trying to create a library

Posted in reply to arpisaxena

What is the real filename of your .sas7bdat (as it shows up in Windows Explorer)?

Does it contain only characters allowed in valid SAS names, and is it all lowercase?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
New Contributor
Posts: 3

Re: Trying to create a library

Posted in reply to KurtBremser

File Name is -  car (1).sas7bdat

Super User
Posts: 10,571

Re: Trying to create a library

[ Edited ]
Posted in reply to arpisaxena

Maxim 1: read the documentation.

A valid SAS name consists of letters, numbers and underlines, and can't start with a number.

car(1) is therefore not a valid name (because of the brackets) and won't be recognized.

Rename it to

car_1.sas7bdat

 

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Super User
Posts: 10,571

Re: Trying to create a library

Posted in reply to arpisaxena

PS I moved your question to the proper SAS Analytics U community.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 6 replies
  • 258 views
  • 0 likes
  • 2 in conversation