BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
manya92
Fluorite | Level 6

Hi all, 

 

I recently installed SAS Studio University edition on my laptop. 

 

I created a folder called perm in my local computer -> my documents and then wrote this libname statement. but there's an error. How do i resolve this ? and i need to use proc contents to see mt dataset, 

 

 82         
 83         libname perm 'C:\Users\manya\Documents\DATA\flatiron\perm' ;
 NOTE: Library PERM does not exist.
 84         
 85         proc contents data = data.Patient_Diagnosis;
 ERROR: File DATA.PATIENT_DIAGNOSIS.DATA does not exist.
 86         run ;
 
 NOTE: Statements not processed because of errors noted above.
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 NOTE: The SAS System stopped processing this step because of errors.
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

You need to use the shared folder set up, myfolders.

You can access it via:

 

libname demo '/folders/myfolders/';

@manya92 wrote:

Hi all, 

 

I recently installed SAS Studio University edition on my laptop. 

 

I created a folder called perm in my local computer -> my documents and then wrote this libname statement. but there's an error. How do i resolve this ? and i need to use proc contents to see mt dataset, 

 

 82         
 83         libname perm 'C:\Users\manya\Documents\DATA\flatiron\perm' ;
 NOTE: Library PERM does not exist.
 84         
 85         proc contents data = data.Patient_Diagnosis;
 ERROR: File DATA.PATIENT_DIAGNOSIS.DATA does not exist.
 86         run ;
 
 NOTE: Statements not processed because of errors noted above.
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 NOTE: The SAS System stopped processing this step because of errors.

 

View solution in original post

2 REPLIES 2
Reeza
Super User

You need to use the shared folder set up, myfolders.

You can access it via:

 

libname demo '/folders/myfolders/';

@manya92 wrote:

Hi all, 

 

I recently installed SAS Studio University edition on my laptop. 

 

I created a folder called perm in my local computer -> my documents and then wrote this libname statement. but there's an error. How do i resolve this ? and i need to use proc contents to see mt dataset, 

 

 82         
 83         libname perm 'C:\Users\manya\Documents\DATA\flatiron\perm' ;
 NOTE: Library PERM does not exist.
 84         
 85         proc contents data = data.Patient_Diagnosis;
 ERROR: File DATA.PATIENT_DIAGNOSIS.DATA does not exist.
 86         run ;
 
 NOTE: Statements not processed because of errors noted above.
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 NOTE: The SAS System stopped processing this step because of errors.

 

Reeza
Super User
To use your own data or data in a different folder you can either move that folder to myfolders or you can create another shortcut reference to that folder in Oracle VM. Then to understhand how to access it, find it in Servers Files & Folders, right click it for the path.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1022 views
  • 1 like
  • 2 in conversation