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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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