<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic file extension change in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67197#M19219</link>
    <description>Hi Everyone&lt;BR /&gt;
&lt;BR /&gt;
I am working on SAS enterprise Guide in WINDOWS XP environment.&lt;BR /&gt;
&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
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?&lt;BR /&gt;
&lt;BR /&gt;
Appreciate your co-operation.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Shankar</description>
    <pubDate>Thu, 19 May 2011 12:33:11 GMT</pubDate>
    <dc:creator>shankar_kumar</dc:creator>
    <dc:date>2011-05-19T12:33:11Z</dc:date>
    <item>
      <title>file extension change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67197#M19219</link>
      <description>Hi Everyone&lt;BR /&gt;
&lt;BR /&gt;
I am working on SAS enterprise Guide in WINDOWS XP environment.&lt;BR /&gt;
&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
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?&lt;BR /&gt;
&lt;BR /&gt;
Appreciate your co-operation.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Shankar</description>
      <pubDate>Thu, 19 May 2011 12:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67197#M19219</guid>
      <dc:creator>shankar_kumar</dc:creator>
      <dc:date>2011-05-19T12:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: file extension change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67198#M19220</link>
      <description>That is easy.Assuming all your xls file in c:\temp&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
filename csv pipe 'dir c:\temp\*.xls* /b';&lt;BR /&gt;
data _null_;&lt;BR /&gt;
 file 'c:\rename.bat';&lt;BR /&gt;
 infile csv length=len;&lt;BR /&gt;
 input name $varying100. len;&lt;BR /&gt;
 str='rename '||strip(name)||' '||strip(scan(name,1,'.'))||'.csv';&lt;BR /&gt;
 put str;&lt;BR /&gt;
run;&lt;BR /&gt;
x 'c:\rename.bat';&lt;BR /&gt;
x 'del c:\rename.bat';&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Fri, 20 May 2011 02:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67198#M19220</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-20T02:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: file extension change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67199#M19221</link>
      <description>That is just going to rename them, not convert them.</description>
      <pubDate>Fri, 20 May 2011 16:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67199#M19221</guid>
      <dc:creator>DouglasMartin</dc:creator>
      <dc:date>2011-05-20T16:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: file extension change</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67200#M19222</link>
      <description>Maybe you need to use Google to search some software which can convert xls into csv automatically.&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Mon, 23 May 2011 00:18:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/file-extension-change/m-p/67200#M19222</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-23T00:18:43Z</dc:date>
    </item>
  </channel>
</rss>

