<?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: Help: SAS Proc Export exports data without headers and only numerical values are extracted in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687850#M37142</link>
    <description>shows an error as follows&lt;BR /&gt;ERROR: Connect: Class not registered&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;ERROR: Connection Failed. See log for details.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 30 Sep 2020 15:11:31 GMT</pubDate>
    <dc:creator>L5ive</dc:creator>
    <dc:date>2020-09-30T15:11:31Z</dc:date>
    <item>
      <title>Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687781#M37140</link>
      <description>&lt;P&gt;Im trying to add a PROC EXPORT Step in my project however when i use the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;%let Export=\C:\sas temp\amahert\MAHER\EXPORT STEP\CLAIMS_TREND;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC EXPORT DATA=ODBCAM.Provider&lt;BR /&gt;OUTFILE= "&amp;amp;Export\CLAIMS_TREND_DATA2.xlsx" dbms=xlsx REPLACE;&lt;BR /&gt;;RUN;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;the extracted file shows a corrupted error and then opens the file with no headers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however if i extracted the file in TAB, CSV, TXT there is no problem with the data&lt;/P&gt;&lt;P&gt;also if i extracted the file as a step in project or manual from Export Wizard also there is no problem with the file.&lt;/P&gt;&lt;P&gt;its been very annoying trying to solve this, Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 11:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687781#M37140</guid>
      <dc:creator>L5ive</dc:creator>
      <dc:date>2020-09-30T11:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687838#M37141</link>
      <description>&lt;P&gt;What happens if you use DBMS=Excel?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 14:51:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687838#M37141</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-30T14:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687850#M37142</link>
      <description>shows an error as follows&lt;BR /&gt;ERROR: Connect: Class not registered&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;ERROR: Connection Failed. See log for details.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:11:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687850#M37142</guid>
      <dc:creator>L5ive</dc:creator>
      <dc:date>2020-09-30T15:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687855#M37143</link>
      <description>&lt;P&gt;What's you SAS version?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687855#M37143</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-30T15:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687856#M37144</link>
      <description>&lt;P&gt;Do you really have that extra backslash in front of the drive letter in your filename? Why?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:26:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687856#M37144</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-30T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687858#M37145</link>
      <description>&lt;P&gt;Perhaps it would be better for you to open a track with Technical Support. Do you get any errors in the log after running the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&amp;nbsp;Error creating XLSX file -&amp;gt; C:\C:\users\&amp;lt;userid&amp;gt;\export_test\CLAIMS_TREND_DATA2.xlsx . It is either not an Excel spreadsheet or it &lt;BR /&gt;is damaged. Error code=80001030&lt;BR /&gt;Requested Output File is Invalid&lt;BR /&gt;ERROR: Export unsuccessful. See SAS Log for details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, the path you have listed on the %LET statement may be incorrect. Try removing the '\' before the C drive letter:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of:&amp;nbsp;&lt;SPAN&gt;%let Export=\C:\sas temp\amahert\MAHER\EXPORT STEP\CLAIMS_TREND;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change to:&amp;nbsp;&lt;SPAN&gt;%let Export=C:\sas temp\amahert\MAHER\EXPORT STEP\CLAIMS_TREND;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687858#M37145</guid>
      <dc:creator>jebjur</dc:creator>
      <dc:date>2020-09-30T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687859#M37146</link>
      <description>my version of Sas is 9.04.01M6P111518</description>
      <pubDate>Wed, 30 Sep 2020 15:29:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687859#M37146</guid>
      <dc:creator>L5ive</dc:creator>
      <dc:date>2020-09-30T15:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687861#M37147</link>
      <description>no sorry the backlash doesn't exist in the original Code. however the error still occur</description>
      <pubDate>Wed, 30 Sep 2020 15:31:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687861#M37147</guid>
      <dc:creator>L5ive</dc:creator>
      <dc:date>2020-09-30T15:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687863#M37148</link>
      <description>&lt;P&gt;Any errors in the log?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687863#M37148</guid>
      <dc:creator>jebjur</dc:creator>
      <dc:date>2020-09-30T15:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687865#M37149</link>
      <description>&lt;P&gt;If a fairly current version creates a corrupt Excel file, this is a case for SAS technical support, as this might be a bug in something that's been production stage for quite some time.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687865#M37149</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-30T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help: SAS Proc Export exports data without headers and only numerical values are extracted</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687866#M37150</link>
      <description>&lt;P&gt;Can you get PROC EXPORT to write the dataset to a different location?&amp;nbsp; If so then the issue might be with the file or folder you are trying to write into.&lt;/P&gt;
&lt;P&gt;Can you get PROC EXPORT to write a different dataset properly?&amp;nbsp; For example try saving SASHELP.CLASS.&amp;nbsp; If so then there might be some strange characters in your dataset.&amp;nbsp; What is your setting for the ENCODING option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you say "Export Wizard" are you talking about an Enterprise Guide tool?&amp;nbsp; That will download the file and work on it using Enterprise Guide code instead of using SAS code to export the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What about just writing the data as a dataset using the XLSX engine instead of using PROC EXPORT?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname out xlsx "&amp;amp;Export\CLAIMS_TREND_DATA2.xlsx";
data out.Provider;
  set ODBCAM.Provider
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Again if that has issues try writing a different dataset and to a different file.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:40:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-SAS-Proc-Export-exports-data-without-headers-and-only/m-p/687866#M37150</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-30T15:40:26Z</dc:date>
    </item>
  </channel>
</rss>

