<?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 Export sas datasets to excel workbook and share in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-sas-datasets-to-excel-workbook-and-share/m-p/258365#M15438</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have 4 sas datasets ab bc ca db&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and i have to export to excel so that te excel workbook has 4 sheets ab bc ca and i need to share the excel file to the share point location&lt;/P&gt;
&lt;P&gt;as i dont have PC SAS and my SAS is on Citrix (Remote SAS )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can anyone pls help&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2016 21:05:44 GMT</pubDate>
    <dc:creator>chennupriya</dc:creator>
    <dc:date>2016-03-22T21:05:44Z</dc:date>
    <item>
      <title>Export sas datasets to excel workbook and share</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-sas-datasets-to-excel-workbook-and-share/m-p/258365#M15438</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have 4 sas datasets ab bc ca db&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and i have to export to excel so that te excel workbook has 4 sheets ab bc ca and i need to share the excel file to the share point location&lt;/P&gt;
&lt;P&gt;as i dont have PC SAS and my SAS is on Citrix (Remote SAS )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can anyone pls help&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 21:05:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-sas-datasets-to-excel-workbook-and-share/m-p/258365#M15438</guid>
      <dc:creator>chennupriya</dc:creator>
      <dc:date>2016-03-22T21:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Export sas datasets to excel workbook and share</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-sas-datasets-to-excel-workbook-and-share/m-p/258448#M15442</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wel, there are two separate questions there.&lt;/P&gt;
&lt;P&gt;1) &amp;nbsp;Create a spreadsheet with the four tabs.&lt;/P&gt;
&lt;P&gt;For this, what version of SAS do you have? &amp;nbsp;If before 9.4 then your best bet is to use tagsets.excelxp:&lt;/P&gt;
&lt;PRE&gt;ods tagsets.excelxp file="c:\test.xml" options(sheet_name="A");
proc report...;
run;

ods tagsets.excel options(sheet_name="B");
proc report...;
run;

...

ods tagsets.excelxp close;&lt;/PRE&gt;
&lt;P&gt;Now this creates a file with the extension .XML, which it should as the output is not native Excel file, but XML which can be opened in Excel. &amp;nbsp;So your users would have to remember that - &amp;nbsp;you could change to XLSX, but that just adds confusion and you will get a box open in Excel for it.&lt;/P&gt;
&lt;P&gt;Now if you have 9.4, you can write out native XLSX files, with the libname excel&amp;nbsp;statement:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/024-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/024-31.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Upload the documents to Sharepoint. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this, you will need your IT group. &amp;nbsp;First you have to have the UNC to the area on Sharepoint you want to upload to. &amp;nbsp;You then need the SAS install to have the access rights to do such an operation. &amp;nbsp;Then you should just be able to use that UNC in your file statement:&lt;/P&gt;
&lt;P&gt;ods tagsets.excelxp file="//unctosharepoint/folder/somewher"...;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 10:07:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-sas-datasets-to-excel-workbook-and-share/m-p/258448#M15442</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-03-23T10:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export sas datasets to excel workbook and share</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-sas-datasets-to-excel-workbook-and-share/m-p/258540#M15448</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have to check whether i have access to create excel file in share point . So can we export sas datasets from SAS EG which is on remote server (accessing sas from citrix link )&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Export-sas-datasets-to-excel-workbook-and-share/m-p/258540#M15448</guid>
      <dc:creator>chennupriya</dc:creator>
      <dc:date>2016-03-23T14:27:23Z</dc:date>
    </item>
  </channel>
</rss>

