<?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 create an excel file using SAS EG on server? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277414#M19188</link>
    <description>&lt;P&gt;What does your log say?&lt;/P&gt;
&lt;P&gt;Please post log and version of SAS, not EG version.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2016 00:04:44 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-06-15T00:04:44Z</dc:date>
    <item>
      <title>How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277384#M19183</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create an Excel file ( .xlsx) file programattically in SAS EG. I tried using PROC IMPORT with DBMS=XLSX , even though I did not get any error the file that got created is not able to open. I am wondering if I am using the right options to achieve this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 21:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277384#M19183</guid>
      <dc:creator>renjithr</dc:creator>
      <dc:date>2016-06-14T21:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277403#M19184</link>
      <description>&lt;P&gt;Please supply the code you are using. You need to use PROC EXPORT, not IMPORT to create an Excel workbook, and you need to have a server folder location where you have write access.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 22:26:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277403#M19184</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-06-14T22:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277405#M19185</link>
      <description>&lt;P&gt;Sorry I mean PROC EXPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;P&gt;%let data_path=%str(/apps/sas/datasets/dataf/);&lt;/P&gt;
&lt;P&gt;PROC EXPORT DATA= WORK.TEMP01 &lt;BR /&gt; OUTFILE= "&amp;amp;data_path./email.xlsx" &lt;BR /&gt; DBMS=xlsx REPLACE;&lt;BR /&gt; SHEET="TEST"; &lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 22:35:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277405#M19185</guid>
      <dc:creator>renjithr</dc:creator>
      <dc:date>2016-06-14T22:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277411#M19186</link>
      <description>&lt;P&gt;There are two possible issues I see. First is do you have write permission to that folder on the SERVER as that is likely the relative path location.&lt;/P&gt;
&lt;P&gt;Second is the path usually works best if you describe everything from a mount point as the location SAS is actually running in may not have that relative path subordinate.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 22:53:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277411#M19186</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-06-14T22:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277412#M19187</link>
      <description>&lt;P&gt;I do have write&amp;nbsp;permission because I was able to write a .CSV file to the same location.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 23:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277412#M19187</guid>
      <dc:creator>renjithr</dc:creator>
      <dc:date>2016-06-14T23:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277414#M19188</link>
      <description>&lt;P&gt;What does your log say?&lt;/P&gt;
&lt;P&gt;Please post log and version of SAS, not EG version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 00:04:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277414#M19188</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-15T00:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277584#M19207</link>
      <description>&lt;P&gt;When you say, "the file that got created is not able to open", do you mean the xlsx&amp;nbsp;file is created, but cannot be opened in Excel?&amp;nbsp; Or, the xlsx&amp;nbsp;file is created, but not added to the EG project?&amp;nbsp; If the second case, EG does not automatically add files exported via code to the EG project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As suggested by others, looking at the log to determine if the xlsx was actually created is the first step.&amp;nbsp; For example, do you see&amp;nbsp;notes&amp;nbsp;similar to the ones below in your log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: The export data set has 19 observations and 5 variables.&lt;/P&gt;
&lt;P&gt;NOTE: "\\d79879\c$\users\cassmi\desktop\\email.xlsx" file was successfully created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 14:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277584#M19207</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-06-15T14:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277604#M19209</link>
      <description>&lt;P&gt;Reeza/Casey,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see my log notes:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: The export data set has 94 observations and 24 variables.&lt;BR /&gt;NOTE: "/apps/sas/datasets/data7/email.xlsx" file was successfully created.&lt;BR /&gt;NOTE: PROCEDURE EXPORT used (Total process time):&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277604#M19209</guid>
      <dc:creator>renjithr</dc:creator>
      <dc:date>2016-06-15T16:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an excel file using SAS EG on server?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277681#M19213</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/6368"&gt;@renjithr﻿&lt;/a&gt;. That confirms the .xlsx file was created.&amp;nbsp; So, back to my previous question...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you say, "the file that got created is not able to open", do you mean the xlsx&amp;nbsp;file cannot be opened in Excel?&amp;nbsp; Or, the xlsx&amp;nbsp;file is created, but not added to the EG project?&amp;nbsp; (If the second case, EG does not automatically add files exported via code to the EG project.)&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:59:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-create-an-excel-file-using-SAS-EG-on-server/m-p/277681#M19213</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-06-15T20:59:03Z</dc:date>
    </item>
  </channel>
</rss>

