BookmarkSubscribeRSS Feed
jeannabil
Calcite | Level 5

Hello All, 

 

i am new user to the SAS software and was following the setup instructions for SAS University Edition: SAS Studio. 

 

On TASK 2: step number number , it says that " In the Server Files and Folders pane, expand the ECST142 folder. Right-click the data folder and select Properties. Highlight the filepath shown in Location and copy it. Close the Properties window."

 

ECST142 does not display on server files and folders pane. and when i try to copy the path from the original folderon my PC, I recieve an error message says:

 

"1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 %let homefolder=C:\Users\brujnab1\Documents\SASUniversityEdition\myfolders\ECST142;
74
75 libname STAT1 "&homefolder";
NOTE: Library STAT1 does not exist.
76
77 options fmtsearch=(stat1.myfmts);
78
79 proc format library=stat1.myfmts;
ERROR: Library STAT1 does not exist.
80 run;
 
WARNING: RUN statement ignored due to previous errors. Submit QUIT; to terminate the procedure.
NOTE: PROCEDURE FORMAT 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."

 

Can any body help me to resolve this issue? 

19 REPLIES 19
Reeza
Super User

You're following the wrong instructions or set it up incorrectly. For SASUE your path should be something like:

 

/folders/myfolders/ECST142

 

You do not reference the C drive directly since SAS cannot access it. 

 


@jeannabil wrote:

Hello All, 

 

i am new user to the SAS software and was following the setup instructions for SAS University Edition: SAS Studio. 

 

On TASK 2: step number number , it says that " In the Server Files and Folders pane, expand the ECST142 folder. Right-click the data folder and select Properties. Highlight the filepath shown in Location and copy it. Close the Properties window."

 

ECST142 does not display on server files and folders pane. and when i try to copy the path from the original folderon my PC, I recieve an error message says:

 

"1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 %let homefolder=C:\Users\brujnab1\Documents\SASUniversityEdition\myfolders\ECST142;
74
75 libname STAT1 "&homefolder";
NOTE: Library STAT1 does not exist.
76
77 options fmtsearch=(stat1.myfmts);
78
79 proc format library=stat1.myfmts;
ERROR: Library STAT1 does not exist.
80 run;
 
WARNING: RUN statement ignored due to previous errors. Submit QUIT; to terminate the procedure.
NOTE: PROCEDURE FORMAT 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."

 

Can any body help me to resolve this issue? 


 

 

jeannabil
Calcite | Level 5
Thank you for your reply, I followed your instructions but i think the error as the following:
"ERROR: Library STAT1 does not exist"

STAT1 exists i libraries pane but not server files and folders.
andreas_lds
Jade | Level 19

@jeannabil wrote:
Thank you for your reply, I followed your instructions but i think the error as the following:
"ERROR: Library STAT1 does not exist"

STAT1 exists i libraries pane but not server files and folders.

 

Please post the code you executed.

jeannabil
Calcite | Level 5
myfolders\ECST142
andreas_lds
Jade | Level 19

@jeannabil wrote:
myfolders\ECST142

This can't be the code you tried to execute.

 

When using SAS UE you have to use the Linux/Unix path separator, so replacing \ with / is a good start.

jeannabil
Calcite | Level 5

thanks for your reply... i changed it, but the same error. 

 

 Errors (1)
 ERROR: Library STAT1 does not exist.
 Warnings (1)
 Notes (3)
 
 
 
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 %let homefolder=myfolders/ECST142;
74
75 libname STAT1 "&homefolder";
NOTE: Library STAT1 does not exist.

 

Reeza
Super User
Look at my answer again. Use it EXACTLY as posted and post the log.
VinayCV
Calcite | Level 5

Hi,

Not sure how this problem was solved.

I am facing the same issue that  NOTE: Library STAT1 does not exist.

I tried using / instead of \ - same error

Is there anything we need to set up for the first time using SAS Studio and browser and VM?

Reeza
Super User

Did you create the myfolders folder as part of the set up?

Show the code you used and your log.

 


@VinayCV wrote:

Hi,

Not sure how this problem was solved.

I am facing the same issue that  NOTE: Library STAT1 does not exist.

I tried using / instead of \ - same error

Is there anything we need to set up for the first time using SAS Studio and browser and VM?


 

Asmaa_Saber
Calcite | Level 5
i have the same problem , if you found the answer can you help me
Tom
Super User Tom
Super User

You posted this:

73 %let homefolder=myfolders/ECST142;

You were instructed to use a path like:

/folders/myfolders/ECST142

Can you see the difference in what you typed and what you should have tried?

VinayCV
Calcite | Level 5

Hi,

 

I none of below is working,

libname STAT1 "folders/Users/vv/Downloads/coursedata/ECST142";

 libname STAT1 "\folders\Users\vv\Downloads\coursedata\ECST142";

libname STAT1 "C:/Users/vv/Downloads/coursedata/ECST142";

libname STAT1 "C:\Users\vv\Downloads\coursedata\ECST142";

libname STAT1 "C:/Users/vv/Downloads/coursedata/ECST142";

Tom
Super User Tom
Super User

None of those look like they could work because they are not under the required mapped folder:

/folders/myfolders/

@VinayCV wrote:

Hi,

 

I none of below is working,

libname STAT1 "folders/Users/vv/Downloads/coursedata/ECST142";

 libname STAT1 "\folders\Users\vv\Downloads\coursedata\ECST142";

libname STAT1 "C:/Users/vv/Downloads/coursedata/ECST142";

libname STAT1 "C:\Users\vv\Downloads\coursedata\ECST142";

libname STAT1 "C:/Users/vv/Downloads/coursedata/ECST142";


The first one is using a relative path.  That will NEVER work with UE since the current working directory is pointing to a directory that you cannot modify in any way.

The second one cannot work since it is using the Unix escape character, \, instead of the path separator, / . So it is also a relative path.

The last three cannot work since they are using Window/DOS filenames.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 19 replies
  • 1840 views
  • 1 like
  • 9 in conversation