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

Hi all SAS Users,

Today when I import the library import into SAS Eg with the code below

 

libname import 'E:\Harv 27th_Feb_2021\global_daily_1999_2001' access=readonly;

I try to have a look about the file in this library from Serve interface but there is no display as below?

My97_0-1614632637357.png

As you can see, no library import displayed.

 

Could you please tell me how to sort it out?

 

Warm regard!

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

@Phil_NZ  - Size shouldn't cause issues like library and and table names not showing. What version of EG are you using? The latest is 8.3 Update 1. If you aren't on this version then upgrading to it may be worth doing.

View solution in original post

7 REPLIES 7
Reeza
Super User
What does the log show from that code?
Phil_NZ
Barite | Level 11

Hi @Reeza 

The log is as below

28         options compress=yes reuse=yes;
29         options mergenoby=error;
30         OPTIONS MPRINT;
31         
32         libname import 'E:\Harv 27th_Feb_2021\global_daily_1999_2001' access=readonly;
NOTE: Libref IMPORT refers to the same physical library as ECI00004.
NOTE: Libref IMPORT was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: E:\Harv 27th_Feb_2021\global_daily_1999_2001
33         
34         
35         %LET _CLIENTTASKLABEL=;
36         %LET _CLIENTPROCESSFLOWNAME=;
37         %LET _CLIENTPROJECTPATH=;
38         %LET _CLIENTPROJECTPATHHOST=;
39         %LET _CLIENTPROJECTNAME=;
40         %LET _SASPROGRAMFILE=;
41         %LET _SASPROGRAMFILEHOST=;
42         
43         ;*';*";*/;quit;run;
44         ODS _ALL_ CLOSE;
45         
46         
47         QUIT; RUN;

Cheers.

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
Reeza
Super User
So looks like it was assigned. See if PROC DATASETS shows you the items then, and see if the refresh button doesn't appear. Othewrise that's an issue you'll need to raise with tech support.

I would recommend using a different term than import as that's a key word in SAS and using those types of words in your code as names can cause unexpected issues.

libname myLib 'E:\Harv 27th_Feb_2021\global_daily_1999_2001' access=readonly;
proc datasets lib=myLib;
run;quit;
Phil_NZ
Barite | Level 11

Hi @Reeza 

 

After running the code,the result is as below

My97_0-1614633206239.png

Log

28         libname myLib 'E:\Harv 27th_Feb_2021\global_daily_1999_2001' access=readonly;
NOTE: Libref MYLIB refers to the same physical library as IMPORT.
NOTE: Libref MYLIB was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: E:\Harv 27th_Feb_2021\global_daily_1999_2001
29         proc datasets lib=myLib;
30         run;

30       !     quit;

There is no "refresh" button appears clearly 

My97_1-1614633273908.png

So, it means I need to contact the tech support?

 

Warm regards.

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
SASKiwi
PROC Star

@Phil_NZ  - In the Servers window, if you right click on Libraries then you should get a Refresh option you can select.

Phil_NZ
Barite | Level 11

Hi @SASKiwi ,

 

Thank you for your help,

 

It is a new way of doing things that will benefit me. However, maybe because this file is quite big (128 GB with 11mil obs) so it cannot display over there still.

 

Warm regards

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
SASKiwi
PROC Star

@Phil_NZ  - Size shouldn't cause issues like library and and table names not showing. What version of EG are you using? The latest is 8.3 Update 1. If you aren't on this version then upgrading to it may be worth doing.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 7 replies
  • 970 views
  • 6 likes
  • 3 in conversation