<?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: How to export from SAS to Excel? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129040#M10577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2012/02/11/export-excel-methods/" title="http://blogs.sas.com/content/sasdummy/2012/02/11/export-excel-methods/"&gt; How do I export from SAS to Excel files: Let me count the ways - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The ODS tagsets does not require a seperate license. An attention point is there are more versions of it , to be installed by your support.&lt;/P&gt;&lt;P&gt;The PROC Import/Export are requiring the ACCESS/PC files license running on your server machine.&lt;/P&gt;&lt;P&gt;What is your server type Windows / Unix. Who/what is your support for that?&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 13:44:19 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2013-09-04T13:44:19Z</dc:date>
    <item>
      <title>How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129038#M10575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &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;I'm a new user of SAS Guide and need a little help.&lt;/P&gt;&lt;P&gt;My problem: I want to export a table from SAS to Excel with code. I have tried differente forms but nothing works. I read something about this in forum and someone said that is need a license to export, this is true?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this forms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export &lt;/P&gt;&lt;P&gt;&amp;nbsp; data=work.impw &lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=xls&lt;/P&gt;&lt;P&gt;&amp;nbsp; outfile="D:\Documents and Settings\p057132\Desktop\back.xls" &lt;/P&gt;&lt;P&gt;&amp;nbsp; replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, nothing happens!&lt;/P&gt;&lt;P&gt;___&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;__________//______________&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods Tagsets.ExcelXP file='D:\Documents and Settings\p057132\Desktop\test.xls'; &lt;/P&gt;&lt;P&gt;title 'Listing of Class data'; &lt;/P&gt;&lt;P&gt;proc print data=work.back; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;ods Tagsets.ExcelXP close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gives a strange output, I can't open it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_________________________-//___________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried other ones. I have a Enterprise Guide 4 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 13:30:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129038#M10575</guid>
      <dc:creator>dianalves</dc:creator>
      <dc:date>2013-09-04T13:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129039#M10576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a review of several methods.&amp;nbsp; Since you are running EG 4.1 and SAS 9.1.3, some of these options are not available to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://blogs.sas.com/content/sasdummy/2012/02/11/export-excel-methods/"&gt;http://blogs.sas.com/content/sasdummy/2012/02/11/export-excel-methods/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should look at ODS CSV and Tagsets.ExcelXP.&amp;nbsp; However, EG 4.1 doesn't automatically handle that output for you.&amp;nbsp; If you want Excel to open the ExcelXP output without complaint, try naming the file with an XML file extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 13:43:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129039#M10576</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-09-04T13:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129040#M10577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2012/02/11/export-excel-methods/" title="http://blogs.sas.com/content/sasdummy/2012/02/11/export-excel-methods/"&gt; How do I export from SAS to Excel files: Let me count the ways - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The ODS tagsets does not require a seperate license. An attention point is there are more versions of it , to be installed by your support.&lt;/P&gt;&lt;P&gt;The PROC Import/Export are requiring the ACCESS/PC files license running on your server machine.&lt;/P&gt;&lt;P&gt;What is your server type Windows / Unix. Who/what is your support for that?&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 13:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129040#M10577</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-09-04T13:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129041#M10578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME EXCEL "name_of_file.xls" ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA _NULL_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set your_dataset ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FILE EXCEL lrecl=25000 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if _n_ = 1 then do ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; PUT 'column1' '09'x 'column2' '09'x 'Column3' '09'x&amp;nbsp; ...............'Columnn' '09'x ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;PUT column1 '09'x column2 '09'x column3 '09'x ......... columnn '09'x ;&lt;/P&gt;&lt;P&gt;RUN ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the &lt;EM&gt;numxwd.&lt;/EM&gt; format to format your numeric values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 09:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129041#M10578</guid>
      <dc:creator>fbatch</dc:creator>
      <dc:date>2013-09-05T09:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129042#M10579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have EG 1.4 and SAS 9.132.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS TAGSETS.EXCELXP&lt;/P&gt;&lt;P&gt;file='D:\Documents and Settings\p057132\Desktop\regression.xls'&lt;/P&gt;&lt;P&gt;STYLE=minimal&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc reg data = WORK.QUERY145;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model log_yt = log_yt_m1 log_yt_m2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It creates a file in SAS ( I just see it in Project Explorer), with "/SASSoft/MinerGuide/Lev1/SASMain/D:\Documents and Settings\p057132\Desktop\test.xml" extension. I can not open it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods csv body="D:\Documents and Settings\p057132\Desktop\regression.csv";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; proc print data=WORK.QUERY145;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ods csv close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It creates a csv file in SAS like above and not works with xlm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In reality I would like to export the database to specifique folder in SAS server but is has to be in xls or csv (rather).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 17:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129042#M10579</guid>
      <dc:creator>dianalves</dc:creator>
      <dc:date>2013-09-05T17:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129043#M10580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course you cannot open it,&amp;nbsp; it has been placed at the Unix/server side.&amp;nbsp; "/SASSoft/MinerGuide/Lev1/SASMain/....&lt;/P&gt;&lt;P&gt;Amazing you can place files there as it is the system configuration of the sas admin and a generic name (SASMain). &lt;/P&gt;&lt;P&gt;Be Lucky not having harmed anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should have placed the file in a personal location and than download it. Or have it transfered to a SharePoint using a url,&lt;/P&gt;&lt;P&gt;Eguide can download the files also.&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Having it in the Windows environment than Excel can open it.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 18:01:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129043#M10580</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-09-05T18:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129044#M10581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;/*hi &lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="820165" data-username="dianalves" href="https://communities.sas.com/people/dianalves" id="jive-82016578901630136315803"&gt;dianalves&lt;/A&gt;&lt;/STRONG&gt; i have ran your insital code*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export &lt;/P&gt;&lt;P&gt;&amp;nbsp; data=work.impw &lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=xls&lt;/P&gt;&lt;P&gt;&amp;nbsp; outfile="D:\Documents and Settings\p057132\Desktop\back.xls" &lt;/P&gt;&lt;P&gt;&amp;nbsp; replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/(which works fine under me - i am using sas eg 4.1 with sas 9.1.3...check cris note if you are missing any compoenents...*/ ---if still error then share error message...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gd lk!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 20:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129044#M10581</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-09-05T20:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129045#M10582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;The process I use with EG is the following - its a pain to set up but you only have to do it once. The excelxp tagset gives you a lot of control over output especially if you have custom formats.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Download and install Chris@SAS custom tasks and the copy files to/from server from his SAS for Dummys website&lt;/LI&gt;&lt;LI&gt;Create a folder on your server for xml files&lt;/LI&gt;&lt;LI&gt;Create XML files in your code using the tagsets.excelxp (as many as you want) as well as the vbs script included below into the folder from step 2 - the vbs script will convert ALL your xml files to native Excel ones once downloaded&lt;/LI&gt;&lt;LI&gt;Use the copy files task you've installed to get your xml files and the vbs file (use *.* in the dialogue to get both xml and vbs files) from the folder in step 2 to a local folder you have set up&lt;/LI&gt;&lt;LI&gt;Use the 'System Command' task from Chris@Sas to start the vbs file off eg: "C:\MYLOCAL\convert.vbs" (no quotes and filename must be in dos format ie longer names abbreviated with ~1). The vbs file is set to self-destruct&lt;/LI&gt;&lt;LI&gt;I then have another step that deletes the xml files and vb script on the server as you no longer need them&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code for the vb script I use is below. It takes all xml files in the folder and converts them to excel so use with care... I have Excel 2010, if you have another version you may have to change the xlNormal number from 51 to your version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*vb script to convert xml and then self destruct (delete);&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;/P&gt;&lt;P&gt;file "/YOURSERVERFOLDER/convert.vbs" ;&lt;/P&gt;&lt;P&gt;put "Dim xlApp, xlWkb, SourceFolder, TargetFolder, file" ;&lt;/P&gt;&lt;P&gt;put "Set xlApp = CreateObject(""excel.application"") " ;&lt;/P&gt;&lt;P&gt;put "set fs = CreateObject(""Scripting.FileSystemObject"")" ;&lt;/P&gt;&lt;P&gt;put "Const xlNormal=51" ;&lt;/P&gt;&lt;P&gt;put "SourceFolder=""C:\MYLOCAL"" " ;&lt;/P&gt;&lt;P&gt;put "xlApp.DisplayAlerts = False " ;&lt;/P&gt;&lt;P&gt;put "xlApp.Visible = false" ;&lt;/P&gt;&lt;P&gt;put "for each file in fs.GetFolder(SourceFolder).files" ;&lt;/P&gt;&lt;P&gt;put "If Right(LCase(file.Name), 4) = "".xml"" Then";&lt;/P&gt;&lt;P&gt;put " Set xlWkb = xlApp.Workbooks.Open(file)" ;&lt;/P&gt;&lt;P&gt;put " BaseName = fs.getbasename(file)" ;&lt;/P&gt;&lt;P&gt;put " FullTargetPath = SourceFolder &amp;amp; ""\"" &amp;amp; BaseName" ;&lt;/P&gt;&lt;P&gt;put " xlWkb.SaveAs FullTargetPath, xlNormal" ;&lt;/P&gt;&lt;P&gt;put " xlWkb.close" ;&lt;/P&gt;&lt;P&gt;put "end if" ;&lt;/P&gt;&lt;P&gt;put "next" ;&lt;/P&gt;&lt;P&gt;put "fs.DeleteFile(""C:\MYLOCAL\*.xml""), DeleteReadOnly";&lt;/P&gt;&lt;P&gt;put "xlApp.DisplayAlerts = true" ;&lt;/P&gt;&lt;P&gt;put "Set xlWkb = Nothing" ;&lt;/P&gt;&lt;P&gt;put "xlapp=Quit";&lt;/P&gt;&lt;P&gt;put "Set xlApp = Nothing" ;&lt;/P&gt;&lt;P&gt;put "fs.DeleteFile(Wscript.ScriptFullName)" ;&lt;/P&gt;&lt;P&gt;put "Set fs = Nothing" ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 00:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129045#M10582</guid>
      <dc:creator>SteveNZ</dc:creator>
      <dc:date>2013-09-06T00:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129046#M10583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eguide is hiding many thing of the server side.&lt;/P&gt;&lt;P&gt;As you are using Unix (seeing your namings) some things to know of that is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easy ones: &lt;/P&gt;&lt;P&gt;- There is not letter for drives (D:) and the backslash \&amp;nbsp; is the other / forwardslash. &lt;/P&gt;&lt;P&gt;- the "my_documents" loction is the "$home" or just "~" at Unix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A difficult one:&lt;/P&gt;&lt;P&gt;- the owner of the data or directorie is defnining the security / access rights.&lt;/P&gt;&lt;P&gt;- The owner is the creator of the file directory, When you create a file that is you.&lt;/P&gt;&lt;P&gt; This is quite differenet to used procedures where a dedciated person as Security administrator is doing all that kind of work.&lt;/P&gt;&lt;P&gt;Using Unix you are the security administrator. I know that is confusing, very confusing.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WS server with Eguide is normally pointing to your "home" in that place you can definine logical links to other locations having your data.&lt;/P&gt;&lt;P&gt;The logical link defnition is a Unix command so you have to execute that directly of by using it wiht a SAS-program using the XCMD facility&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your SAS paltform admin can define directories and some default filenames (aside libname) for you.&lt;/P&gt;&lt;P&gt;These are being acttivated by changes in the user_mod files in .&amp;nbsp; "/SASSoft/MinerGuide/Lev1/SASMain/...&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that approach it is becoming more easy. The Unix mapping are becoming visible in Eguide file explorer in the same way as the Windows explorer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 08:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129046#M10583</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-09-06T08:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129047#M10584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have ran this code but nothing, neither give error!I'm not ADMIN and perhaps I have troubles because of that. I'll try all option you gave me. Thank you a lot, I'll share all steps &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 09:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129047#M10584</guid>
      <dc:creator>dianalves</dc:creator>
      <dc:date>2013-09-06T09:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129048#M10585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;TRY THIS :&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Math; input Name $ Sirname $ Marks; cards;&lt;/P&gt;&lt;P&gt;Sunil K 24&lt;/P&gt;&lt;P&gt;Sanjeev Z 19&lt;/P&gt;&lt;P&gt;Rahul c 13&lt;/P&gt;&lt;P&gt;;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data ENG; input Name $ Sirname $ Marks; cards;&lt;/P&gt;&lt;P&gt;Vishal K 24&lt;/P&gt;&lt;P&gt;Vicky Z 19&lt;/P&gt;&lt;P&gt;Meenu c 13&lt;/P&gt;&lt;P&gt;;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname sample excel 'C:\SAS_DUMP\myexcel.xls';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data sample.math;&amp;nbsp; set Math;&lt;/P&gt;&lt;P&gt;data sample.eng;&amp;nbsp;&amp;nbsp;&amp;nbsp; set Eng; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname sample;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 13:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129048#M10585</guid>
      <dc:creator>sunilzood</dc:creator>
      <dc:date>2013-09-06T13:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129049#M10586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was this ever solved? I'm trying to do the same (on a virtual machine).&lt;/P&gt;&lt;P&gt;I run:&lt;/P&gt;&lt;P&gt;proc export&lt;/P&gt;&lt;P&gt;&amp;nbsp; data=testdata.aug31&lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=xls&lt;/P&gt;&lt;P&gt;&amp;nbsp; outfile="C:\Temp\test.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp; replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;And I get:&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access /sas/LM92/Lev1/SASMain/C:\Temp\test.xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also new to SAS and I'm assuming it's being run on Unix judging by the path, so I'm not sure how to reference a file path to save the data to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for any insight; I'm using EG 4.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 20:32:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129049#M10586</guid>
      <dc:creator>80sMetalForever</dc:creator>
      <dc:date>2013-09-12T20:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129050#M10587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are trying to write an Excel file to the C:\Temp directory of your SAS server which of course would not exist on Unix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try writing to a directory that you are allowed to from your server - perhaps where you store your SAS datasets? For Unix you need to use /subdir1/subdir2 naming convention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 02:46:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129050#M10587</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-09-13T02:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129051#M10588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, when I remove the path altogether I get:&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access /sas/LM92/Lev1/SASMain/test.xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I be able to find where my datasets are stored and/or what paths I have access to? Also should I be able to write to a network location? I verified I have access via the VM but again not sure what the syntax would be to export to that location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it helps when I look at the properties of a library I have access to I see:&lt;/P&gt;&lt;P&gt;Server: SASMain&lt;/P&gt;&lt;P&gt;Engine: BASE&lt;/P&gt;&lt;P&gt;Location: /Shared Data/TESTDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try to export to that locale but received ERROR: Physical file does not exist, /shared data/testdata/test.xls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 13:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129051#M10588</guid>
      <dc:creator>80sMetalForever</dc:creator>
      <dc:date>2013-09-13T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129052#M10589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to use a variation of the technique that I shared here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2013/05/20/export-and-download-any-file-from-sas-enterprise-guide/" title="http://blogs.sas.com/content/sasdummy/2013/05/20/export-and-download-any-file-from-sas-enterprise-guide/"&gt; Export and download any file from SAS Enterprise Guide - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code would look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;%let&lt;/SPAN&gt; download_from = &lt;SPAN style="color: #0000ff;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="color: #66cc66;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;getoption&lt;/SPAN&gt;&lt;SPAN style="color: #66cc66;"&gt;(&lt;/SPAN&gt;work&lt;SPAN style="color: #66cc66;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #66cc66;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;/test.xls&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;filename&lt;/SPAN&gt; src &lt;SPAN style="color: #a020f0;"&gt;"&amp;amp;download_from."&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc export&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; data=testdata.aug31&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; dbms=xls&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; outfile=src&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; replace;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Then use the &lt;A href="http://blogs.sas.com/content/sasdummy/2013/05/16/ftp-task-in-sas-eg/"&gt;Copy Files task&lt;/A&gt; (which you will need to download/install) to copy the result to the desired location on your PC.&amp;nbsp; Specify &lt;STRONG&gt;&amp;amp;download_from&lt;/STRONG&gt; as the source location to download, and check the "Resolve SAS macro variables" option in the task to allow the task to find it.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 13:12:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129052#M10589</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-09-13T13:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129053#M10590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Then use the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://blogs.sas.com/content/sasdummy/2013/05/16/ftp-task-in-sas-eg/" style="font-size: 10pt; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba;"&gt;Copy Files task&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; (which you will need to download/install) to copy the result to the desired location on your PC. "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;thx Chris - so does this mean one doesn't generally export straight from code on a VM to a 'PC'/network location? I was trying to get this all in code without the extra Copy Files step and share with co-workers, but if that's how it is then that's how it is. Appreciate the response.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 13:23:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129053#M10590</guid>
      <dc:creator>80sMetalForever</dc:creator>
      <dc:date>2013-09-13T13:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129054#M10591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mötley Crüe fan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know of a location on your UNIX file system that you can:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(a) write files to, and&lt;/P&gt;&lt;P&gt;(b) access from the PCs on your network, perhaps via a network shared drive or Samba mount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can accomplish this all with code.&amp;nbsp; But you will need to know of a valid UNIX path and include that as the output file location in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The technique I shared can work without you having to know anything special about your UNIX setup, but it does require an EG step to copy the result to where you want it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 13:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129054#M10591</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-09-13T13:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to export from SAS to Excel?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129055#M10592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok I will ask an Admin for more info then...most/all co-workers run EG from their own computers when they need to do this but I'd like to 'solve' being able to do this on the VM. Thanks for the insight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 13:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-export-from-SAS-to-Excel/m-p/129055#M10592</guid>
      <dc:creator>80sMetalForever</dc:creator>
      <dc:date>2013-09-13T13:38:02Z</dc:date>
    </item>
  </channel>
</rss>

