Desktop productivity for business analysts and programmers

Access data in SAS EG

Reply
Frequent Contributor
Posts: 144

Access data in SAS EG

Hi all,

 

I working with SAS EG which is new to me. Although I am connected to the server where we have our data I am unable to assign a library using the libname statement.

 

However, I see the dataset in one of the drives (e.g. G:\) within the 'Files' folder in the 'server window' of 'SAS EG'. How do I access it in SAS EG 'program' window? Please let me know as soon as possible.

 

Thanks!

 

 

Super Contributor
Posts: 448

Re: Access data in SAS EG

Is that a mapped drive? If your drive (e.g. G:\) is a mapped and your referencing G:\ in libname then it might not work. Try with the physical path that you used to map the drive.

Thanks,
Suryakiran
Frequent Contributor
Posts: 144

Re: Access data in SAS EG

Posted in reply to SuryaKiran

Thanks for your reply. I tried using the physical path as well and it doesn't work.

Super User
Posts: 5,825

Re: Access data in SAS EG

Talk to your SAS server admin, whi should be able to guide you.
there could be several reason for this, even server side policy restrictions.

Data never sleeps
Frequent Contributor
Posts: 144

Re: Access data in SAS EG

@LinushH I have reached out to them. It probably has to do with server policy restrictions itself. I was looking to see if I can access the dat from the Files folder as I see the data in the server window of SAS EG and can visualize the data but I guess there is no way to work with it in the local workspace other than using the 'libname'.

Super Contributor
Posts: 448

Re: Access data in SAS EG

You can maybe open data into your Project flow and then use Query Builder and copy it to other Library. This maybe a pain to open individual and copy them all into SAS.

 

Untitled.png

Thanks,
Suryakiran
Super User
Posts: 3,764

Re: Access data in SAS EG

What error do you get with the LIBNAME? Please post both the libname and the error message.

Frequent Contributor
Posts: 144

Re: Access data in SAS EG

H all,

Thanks for all your suggestions. I was able to resolve it with admin. The path where the data was mounted was different on the server from the one at the local workstation. So the libname had to include the 'g:' followed by the folder name on the server. That helped pull in the data into SAS EG.

Thanks!

Ask a Question
Discussion stats
  • 7 replies
  • 178 views
  • 1 like
  • 4 in conversation