BookmarkSubscribeRSS Feed
Abhijit
Calcite | Level 5

Hi All

I have never encoutered a problem like this.

I have 2 sas dataset under /saswork0.

I assign a library with the help of below statement:

libname AA "/saswork0";

After running the above statement, I refresh the libraries under Server List. Under AA library, I was expecting EG to list out all the SAS datasets but that's not the case.

Anyone has encoutered a problem like this. Any help would be greatly appreciated.

Thanks

Abhi

10 REPLIES 10
Abhijit
Calcite | Level 5

Please find the log details:

16         libname AA "/saswork0";

NOTE: Libref AA was successfully assigned as follows:

      Engine:        V9

      Physical Name: /saswork0





Abhijit
Calcite | Level 5

Becasue I have copied from comand line in Unix. The datasets existed in an area where I did not have access. What it did was, I used sudo command (this gave me root's rights) & then copied accross the data to /saswork0. After copying it, I did chmod 666 on the file.

Kurt_Bremser
Super User

I know this may sound silly, but are you sure you did this on the same machine/system that runs your workspace server?

Next step would be to somehow get a listing of the directory.

This could either be done with the "files" section of your server list in EG, if you can navigate down to the root.

Or by running the ls command (with filename pipe, to catch the output), if you're not hindered by the NOXCMD option.

Or by using the method to list items in a directory described here:

SAS Filesystem Toolbox - sasCommunity

Abhijit
Calcite | Level 5

u46018513@cenitws1 > pwd

/saswork0

u46018513@cenitws1 > ls -l

total 2062

-rwxrwxrwx   1 censas   dpcenit   925696 May 27 10:58 config_table.sas7bdat

Kurt_Bremser
Super User

You said you used sudo to become root and did a chmod 666 on the file. This file has mode 777 (executable bits set), and neither belongs to root nor the user currently logged in (u46018513). So something does not compute, to borrow the famous line.

Is cenitws1 actually the system running your workspace server?

Abhijit
Calcite | Level 5

Sorry, later on I did 777 as well. I am completely thrown by this stuff.

Ksharp
Super User

Maybe the role copying file is different the role starting SAS process .

One is ROOT , another is SAS  ?

Xia Keshan

sas-innovate-2024.png

Today is the last day to save with the early bird rate! Register today for just $695 - $100 off the standard rate.

 

Plus, pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 10 replies
  • 1027 views
  • 0 likes
  • 3 in conversation