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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 2 replies
  • 1495 views
  • 1 like
  • 2 in conversation