Desktop productivity for business analysts and programmers

file extension change

Reply
Occasional Contributor
Posts: 10

file extension change

Hi Everyone

I am working on SAS enterprise Guide in WINDOWS XP environment.

As part of my automation work, I need to convert some of the excel files (.xls, .xlsx) to .csv files due to some issues in handling .xls and .xlsx files directly.

Do you know any way in SAS using which I can convert file in one extension to another - of course as per the operating environment which in my case is XP?

Appreciate your co-operation.

Thanks
Shankar
Respected Advisor
Posts: 3,837

Re: file extension change

I believe there is a %XLS2CSV macro available. Also the XLS libname engine could be helpful. Google it/look it up in the doc (under SAS/Access to PC files) and search this forum as there are many posts dealing with similar questions.
Occasional Contributor
Posts: 10

Re: file extension change

Hi Patrick

Thanks for your input.

However, this feature is disabled for me. Since I remotely work on SAS server using SAS Enterprise Guide, many features like Excel Engine are disabled.

So, whatever you have suggested doesn't seem to work for me.

Please suggest any other approach.

Thanks
Shankar
Ask a Question
Discussion stats
  • 2 replies
  • 117 views
  • 0 likes
  • 2 in conversation