BookmarkSubscribeRSS Feed
s_m
Obsidian | Level 7 s_m
Obsidian | Level 7

I am using SAS Studio (SAS University Edition)

I started the new session but error is still the same.

I am unable to assign a libref through libname statement.

 

libname libsas "/folders/myshortcuts/s2/";
data work.out;
set libsas.abc;

run;

 

ERROR:

File LIBSAS.ABC.DATA does not exist

 

abc.xlsx data is physical present under S2 and is visible in myshorts in sas studio.Please refe the screenshot attached.


error_screenshot2.png
1 REPLY 1
LinusH
Tourmaline | Level 20

Libname without any additional options works only for SAS data sets, not for non-SAS file formats.

http://support.sas.com/software/products/university-edition/faq/SAS_accessdata_Excel.htm

Data never sleeps

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1 reply
  • 640 views
  • 0 likes
  • 2 in conversation