<?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 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89664#M25567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, then why don't your create an EXCEL file, instead of CSV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro to_export(var = );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc export data = s&lt;A class="itxtnewhook itxthook" href="http://www.tek-tips.com/viewthread.cfm?qid=1335588" id="itxthook2" rel="nofollow" style="font-weight: normal; font-size: 100%; font-style: normal;"&gt;&lt;SPAN class="itxtrst itxtrstspan itxtnowrap" id="itxthook2p"&gt;&lt;SPAN class="itxtrst itxtrstspan itxtnowrap itxtnewhookspan" id="itxthook2w" style="font-weight: normal; font-size: 100%; text-decoration: underline ! important; padding: 0 0 1px ! important; color: #009900;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;ashelp.class (where=(sex="&amp;amp;var."))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile='file_path\Master_file.xls'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=excel; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sheet="&amp;amp;var";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;%mend to_export;&lt;/P&gt;&lt;P&gt;%to_export(var = F);&lt;/P&gt;&lt;P&gt;%to_export(var = M);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2013 15:21:20 GMT</pubDate>
    <dc:creator>AncaTilea</dc:creator>
    <dc:date>2013-01-29T15:21:20Z</dc:date>
    <item>
      <title>proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89657#M25560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;they dont have sas access at work so i have to convert the file to csv before&amp;nbsp; export it but i get errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;this is the code&amp;nbsp; i am writing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;proc &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;export&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=mylib.susp_reasons_previous &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'C:\Users\tiliev\Desktop\report.csv'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;sheet='susp_reasons_previous';run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;and this is the error&amp;nbsp; i am&amp;nbsp; getting:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1259&amp;nbsp; proc export data=mylib.susp_reasons_previous outfile=&amp;nbsp; 'C:\Users\tiliev\Desktop\report.csv'&lt;/P&gt;&lt;P&gt;1259!&amp;nbsp; replace;&lt;/P&gt;&lt;P&gt;NOTE: The previous statement has been deleted.&lt;/P&gt;&lt;P&gt;1260&amp;nbsp; sheet='susp_reasons_previous';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 180&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone see what i am&amp;nbsp; doing wrong here,pleasE?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 14:53:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89657#M25560</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-29T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89658#M25561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the sheet statement is only used with excel exports, not csv's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 14:56:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89658#M25561</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-01-29T14:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89659#M25562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;proc &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;export&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=mylib.susp_reasons_previous &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'C:\Users\tiliev\Desktop\report.csv'&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt; dbms=csv &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG&gt;sheet='susp_reasons_previous$'&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Jagadish&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:06:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89659#M25562</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-01-29T15:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89660#M25563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm,&lt;/P&gt;&lt;P&gt;so any idea how to export csv&amp;nbsp; files except through&amp;nbsp; the wizard?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89660#M25563</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-29T15:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89661#M25564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, there is no way to name your sheetname when using CSV.&lt;/P&gt;&lt;P&gt;One work around it would be to name the file you are creating as the sheet-name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For exmaple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;proc &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;export&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=mylib.susp_reasons_previous &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'C:\Users\tiliev\Desktop\&lt;STRONG&gt;susp_reasons_previous&lt;/STRONG&gt;.csv'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;sheet='susp_reasons_previous';&lt;/SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Anca.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:07:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89661#M25564</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-01-29T15:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89662#M25565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yea&amp;nbsp; i did,still the same error.Probably "sheet" cant be used with csv as DBailey said&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89662#M25565</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-29T15:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89663#M25566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank&amp;nbsp; you guys,&lt;/P&gt;&lt;P&gt;i do need all the query outputs to be on different worksheets of one excel file so i can have my&amp;nbsp; table populated easily but i guess &lt;SPAN style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;ODS&lt;BR /&gt;TAGSETS.EXCELXP &lt;/SPAN&gt; would be the only way to do so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89663#M25566</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-29T15:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89664#M25567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, then why don't your create an EXCEL file, instead of CSV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro to_export(var = );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc export data = s&lt;A class="itxtnewhook itxthook" href="http://www.tek-tips.com/viewthread.cfm?qid=1335588" id="itxthook2" rel="nofollow" style="font-weight: normal; font-size: 100%; font-style: normal;"&gt;&lt;SPAN class="itxtrst itxtrstspan itxtnowrap" id="itxthook2p"&gt;&lt;SPAN class="itxtrst itxtrstspan itxtnowrap itxtnewhookspan" id="itxthook2w" style="font-weight: normal; font-size: 100%; text-decoration: underline ! important; padding: 0 0 1px ! important; color: #009900;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;ashelp.class (where=(sex="&amp;amp;var."))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile='file_path\Master_file.xls'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=excel; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sheet="&amp;amp;var";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;%mend to_export;&lt;/P&gt;&lt;P&gt;%to_export(var = F);&lt;/P&gt;&lt;P&gt;%to_export(var = M);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89664#M25567</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-01-29T15:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89665#M25568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but i cant export an excel file.I tried it before.We dont have sas access here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89665#M25568</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-29T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89666#M25569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see.&lt;/P&gt;&lt;P&gt;then ODS TAGSETS.EXCELXP is what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here more helpful info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="32511" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:31:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89666#M25569</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-01-29T15:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89667#M25570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeaa&amp;nbsp; but that works too &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; for all your&amp;nbsp; help Anca and team,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:42:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89667#M25570</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-29T15:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89668#M25571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we dont have sas access to pc files&amp;nbsp; but we have to ole db.Is there a way i can import/export excel files through it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 01:48:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89668#M25571</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-30T01:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89669#M25572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;proc &lt;/SPAN&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;export&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=mylib.susp_reasons_previous &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;outfile&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'C:\Users\tiliev\Desktop\report.xls'&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt; dbms=csv &lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;When you try to open the file with excel, you might get an error message that says the file is in a different format than the file extension, but if you click OK, excel should open the file.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 12:45:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-export/m-p/89669#M25572</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-01-30T12:45:30Z</dc:date>
    </item>
  </channel>
</rss>

