<?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: Send multiple SAS data sets to one Access Database / Excel Workbook in SAS Enterprise Guide in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400918#M25762</link>
    <description>&lt;P&gt;Its generally a good idea to search for answers before posting.&amp;nbsp; There are numerous methods to get data out to both Access and Excel.&amp;nbsp; Lets take Excel first:&lt;/P&gt;
&lt;P&gt;tagsets.excelxp - this creates XML text file which Excel can read and parse.&lt;/P&gt;
&lt;P&gt;libname excel (SAS 9.4), this can create/access XLSX files directly&lt;/P&gt;
&lt;P&gt;proc export - can create xls files&lt;/P&gt;
&lt;P&gt;To CSV - text file with comma separation which Excel can also read&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Access you can also do:&lt;/P&gt;
&lt;P&gt;libaname access - never used myself&lt;/P&gt;
&lt;P&gt;proc sql pass through&lt;/P&gt;
&lt;P&gt;proc export&lt;/P&gt;
&lt;P&gt;etc.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2017 12:20:14 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-10-04T12:20:14Z</dc:date>
    <item>
      <title>Send multiple SAS data sets to one Access Database / Excel Workbook in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400908#M25761</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to export more than 1 data set to an Access database (or as separate sheets in an Excel file) but I can't figure out how to do it! Can anyone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marcus Peters&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 11:28:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400908#M25761</guid>
      <dc:creator>Marcus_Peters</dc:creator>
      <dc:date>2017-10-04T11:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send multiple SAS data sets to one Access Database / Excel Workbook in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400918#M25762</link>
      <description>&lt;P&gt;Its generally a good idea to search for answers before posting.&amp;nbsp; There are numerous methods to get data out to both Access and Excel.&amp;nbsp; Lets take Excel first:&lt;/P&gt;
&lt;P&gt;tagsets.excelxp - this creates XML text file which Excel can read and parse.&lt;/P&gt;
&lt;P&gt;libname excel (SAS 9.4), this can create/access XLSX files directly&lt;/P&gt;
&lt;P&gt;proc export - can create xls files&lt;/P&gt;
&lt;P&gt;To CSV - text file with comma separation which Excel can also read&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Access you can also do:&lt;/P&gt;
&lt;P&gt;libaname access - never used myself&lt;/P&gt;
&lt;P&gt;proc sql pass through&lt;/P&gt;
&lt;P&gt;proc export&lt;/P&gt;
&lt;P&gt;etc.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 12:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400918#M25762</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-04T12:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Send multiple SAS data sets to one Access Database / Excel Workbook in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400923#M25763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/137841"&gt;@Marcus_Peters&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully one of those solutions will satisfy you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For excel format, you can use for instance ODS EXCEL or the &lt;A href="https://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html" target="_self"&gt;ExcelXP tagset&lt;/A&gt; such as:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file='c:\data\output1.xlsx';
proc print data=sashelp.class; run;
proc print data=sashelp.cars; run;
ods excel close;
 
ods tagsets.ExcelXP file='c:\data\output_tagset.xls';
proc print data=sashelp.class; run;
proc print data=sashelp.cars; run;
ods tagsets.ExcelXP close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;As previously discussed with that SAS Communities post &lt;A href="https://communities.sas.com/t5/SAS-Procedures/Exporting-Multiple-Data-Sets-to-Multiple-Worksheets-in-one-Excel/td-p/141493" target="_self"&gt;Exporting Multiple Data Sets to Multiple Worksheets in one Excel Workbook&lt;/A&gt;, proc export is another option (if you have the SAS/ACCESS Interface to PC Files module).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the proc export in order to export to Microsoft Access as well.&lt;/P&gt;
&lt;P&gt;Another alternative found on SAS Communities again is &lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Exporting-Multiple-SAS-datasets-to-Access-Database/td-p/40533" target="_self"&gt;Exporting Multiple SAS datasets to Access Database&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Damo&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 12:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400923#M25763</guid>
      <dc:creator>Damo</dc:creator>
      <dc:date>2017-10-04T12:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Send multiple SAS data sets to one Access Database / Excel Workbook in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400951#M25764</link>
      <description>RW9, I can't make these work in SAS EG (already tried) as it doesn't know I have access to any shared drives being a server-based session? I need a solution for an EG workflow such as writing one of the Export routines built into that platform?</description>
      <pubDate>Wed, 04 Oct 2017 13:20:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400951#M25764</guid>
      <dc:creator>Marcus_Peters</dc:creator>
      <dc:date>2017-10-04T13:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Send multiple SAS data sets to one Access Database / Excel Workbook in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400959#M25766</link>
      <description>&lt;P&gt;Then your problem is that your server based session does not have access to the particular areas you need to access.&amp;nbsp; This is therefore an issue for your IT group to sort out for you so that you can access those areas, nothing to do with the type of SAS code you use to create.&amp;nbsp; It may require you to use an FTP client to transfer back and forth, and if you server session is not windows with office installed, then you would need either an open source variant - XML/CSV or PCFILES.&amp;nbsp; Either way, not sure how we can help with your infrastructure.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 13:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400959#M25766</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-04T13:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Send multiple SAS data sets to one Access Database / Excel Workbook in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400963#M25768</link>
      <description>Thanks, that's a good clear response! I will talk to the technical architecture guys and see if they can help me out.&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Oct 2017 13:31:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Send-multiple-SAS-data-sets-to-one-Access-Database-Excel/m-p/400963#M25768</guid>
      <dc:creator>Marcus_Peters</dc:creator>
      <dc:date>2017-10-04T13:31:35Z</dc:date>
    </item>
  </channel>
</rss>

