BookmarkSubscribeRSS Feed
Peter_C
Rhodochrosite | Level 12
Hi there

do you know any way of persuading proc import to access an excel workbook range through the SAS/Access Interface to ODBC.
.. ... ... (not sas/access to PC File formats)
enquiring minds want to know if it is possible;-)

PeterC
3 REPLIES 3
LinusH
Tourmaline | Level 20
Should be possible by using the n literal when specifying work-sheet name. There is a limitation on the total name lenght though:

http://support.sas.com/kb/33/490.html

/Linus
Data never sleeps
Peter_C
Rhodochrosite | Level 12
thank you Linus,
but I don't think that works through proc import, at least I've found no way, so far. Looks like we need to revert to Access to PC File formats

PeterC
Patrick
Opal | Level 21
Excel can be an ODBC data source so accessing it via SAS/ODBC should be possible.
http://www.datamystic.com/datapipe/excel_odbc.html

I never tried it and SAS Access to PC File formats is sure much more convenient.

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