BookmarkSubscribeRSS Feed
keen_sas
Quartz | Level 8

I got an XLSX file from third party and trying to import it in SAS EG using proc import/Libname methods but it does not work.If i open the XLSX file and SAVE AS with the same name also it works. Is there are any UNIX command applied in SAS to SAVE AS the XLSX file in the same location through SAS program without any manual intervention. Any other alternative to SAVE AS the XLSX file or recreate the XLSX file in the same location without manual intervention through UNIX commands in SAS or any other approach to make the file work.

1 REPLY 1
Kurt_Bremser
Super User

Your Excel file has to be available on the UNIX server, either by copying there with sftp or by storing it on a shared resource mounted on the server.

Then you can use LIBNAME XLSX to access it like a SAS library.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1 reply
  • 975 views
  • 1 like
  • 2 in conversation