<?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 Re: proc export seems to be having issues with character vars in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263658#M18313</link>
    <description>&lt;P&gt;You don't say what version of SAS, but if 9.3 or later you could try DBMS=XLSX. &amp;nbsp;DBMS=XLS uses a back-level file format for Excel -- even older than what most people think of when looking at "XLS" files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another alternative if on Windows: DBMS=EXCEL or DBMS=EXCELCS (64-bit SAS with 32-bit MS Office).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2016 20:20:05 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2016-04-13T20:20:05Z</dc:date>
    <item>
      <title>proc export seems to be having issues with character vars</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263651#M18310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a SAS dataset which I am trying to convert to an xls file using SE Guide 4.3 and the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data=data1&lt;BR /&gt;dbms=xls&lt;BR /&gt;outfile="filepath\excel_file.xls"&lt;BR /&gt;replace;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the log, the code runs fine with no issues whatsoever. However, when I open the Excel file, I get an error message that the file was corrupted and needs to be repaired by Excel so it can be readable. When I repair it, there are no variable names/headers in the file, and it looks like only the numeric vars are filled in--the character variables seem to be missing altogether. I do have a number of long-ish character variables, but not extremely so--the longest is 100 characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:06:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263651#M18310</guid>
      <dc:creator>Walternate</dc:creator>
      <dc:date>2016-04-13T20:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc export seems to be having issues with character vars</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263654#M18311</link>
      <description>&lt;P&gt;How many variables? How many observations?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want variable Labels to appear as column headers you will want to specify the option Label.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263654#M18311</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-04-13T20:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: proc export seems to be having issues with character vars</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263656#M18312</link>
      <description>&lt;P&gt;Only about 1000 observations and 120 variables.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:15:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263656#M18312</guid>
      <dc:creator>Walternate</dc:creator>
      <dc:date>2016-04-13T20:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc export seems to be having issues with character vars</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263658#M18313</link>
      <description>&lt;P&gt;You don't say what version of SAS, but if 9.3 or later you could try DBMS=XLSX. &amp;nbsp;DBMS=XLS uses a back-level file format for Excel -- even older than what most people think of when looking at "XLS" files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another alternative if on Windows: DBMS=EXCEL or DBMS=EXCELCS (64-bit SAS with 32-bit MS Office).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:20:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263658#M18313</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-04-13T20:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc export seems to be having issues with character vars</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263783#M18314</link>
      <description>&lt;P&gt;Write a .csv file with a data _null_ step from SAS, then open that with Excel, to see if it's the file format or a limitation of your Excel version.&lt;/P&gt;
&lt;P&gt;When that is verified (Excel can deal with all the data), do a simple proc print within ODS TAGSETS.EXCELXP (use a filename with a .xml extension) and open that with Excel. The xml file will have considerable size, but usually works quite well (and can be checked with a text editor)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 07:50:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-export-seems-to-be-having-issues-with-character-vars/m-p/263783#M18314</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-04-14T07:50:03Z</dc:date>
    </item>
  </channel>
</rss>

