SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
EarlyCode
Fluorite | Level 6

Ultimately still the same issue.

 

That paper uses the SAS LIBNAME engine EXCEL. Which I can get to run just fine on my machine. However, when operating on a UNIX environment, you have to use the XLSX engine. But options such as "mixed=yes" aren't valid options.

ballardw
Super User

Possibly a command line Excel to csv file converter. You can issue commands from SAS using the X command if needed.

 

Here were a couple of quick results searching for conversion methods

http://unix.stackexchange.com/questions/23726/convert-a-xlsx-ms-excel-file-to-csv-on-command-line-wi...

 

http://stackoverflow.com/questions/10557360/convert-xlsx-to-csv-in-linux-command-line

 

http://www.unix.com/shell-programming-and-scripting/222095-perl-script-convert-xlsx-xls-files-csv-fi...

 

not that I speak Unix very well

EarlyCode
Fluorite | Level 6

I have never used that before, but it's worth researching.

Reeza
Super User

What version of SAS do you have?

EarlyCode
Fluorite | Level 6

9.3, though I think it's 9.4 that runs on the UNIX server.

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 20 replies
  • 8178 views
  • 2 likes
  • 5 in conversation