<?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 multiple exporting to excel in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34401#M593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you structure the reports to write to independent files so that they will not interfere with each other.&lt;/P&gt;&lt;P&gt;If you still need the combined files then create a step (pehaps in VB) that combines the files that runs when everything is finished.&amp;nbsp; That step should be fast as it is not doing any real calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 18:27:44 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2011-07-20T18:27:44Z</dc:date>
    <item>
      <title>multiple exporting to excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34397#M589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure where to place this question and not sure if it is even possible.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have multiple sas programs that execute various reports which get exporting into excel.&amp;nbsp; Some with a simple export statement and some using DDE because the data needs to start on specific lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem:&lt;/P&gt;&lt;P&gt;Some times these reports are exporting to excel at the same time!!&amp;nbsp; Ouch&amp;nbsp;&amp;nbsp;&amp;nbsp; This causes problems.&amp;nbsp;&amp;nbsp; Is there another way to create an excel sheet in sas?&amp;nbsp;&amp;nbsp; The excel files are reports for usage by other departments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any other info is need just ask,&amp;nbsp; I am clueless &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 17:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34397#M589</guid>
      <dc:creator>mick_g</dc:creator>
      <dc:date>2011-07-20T17:33:53Z</dc:date>
    </item>
    <item>
      <title>multiple exporting to excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34398#M590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought SAS kinda went sequentially and did things as you went along. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the DDE running into itself, or the proc export and the DDE...I sort of assumed the DDE wouldn't start until the proc export finished, or do you have multiple jobs going at the same time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look into the sleep(5) or some other time to allow DDE time to finish the process before continuing or just in general.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 17:47:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34398#M590</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-07-20T17:47:12Z</dc:date>
    </item>
    <item>
      <title>multiple exporting to excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34399#M591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have multiple SAS Job running.&amp;nbsp;&amp;nbsp; Most of my reports have to be out by 7am before the start of business.&amp;nbsp; The data does not finished uploading until 5 am which give almost 2 hours to get all the report out.&amp;nbsp; Some days kicking off several SAS Job does not cause a problem other days when there is problems with the data upload everything crashes.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One SAS Programs is open and creating 3 different excel reports&lt;/P&gt;&lt;P&gt;another SAS is open and kicking of all items in a bat file&lt;/P&gt;&lt;P&gt;while another SAS is open executing more reports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it might not be a good idea to have 3-7 SAS sessions open especially when 3 or more create excel sheets but currently we created reports with VB, SQL and SAS.&amp;nbsp; So yes even my SQL jobs crash when everything starts exporting at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just trying to find a better way to create excel reports &lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Simultaneously&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 18:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34399#M591</guid>
      <dc:creator>mick_g</dc:creator>
      <dc:date>2011-07-20T18:07:56Z</dc:date>
    </item>
    <item>
      <title>multiple exporting to excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34400#M592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I thought that maybe I could create some of the reports with XML but I have never worked with it.&amp;nbsp;&amp;nbsp; So I don't know what it can do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 18:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34400#M592</guid>
      <dc:creator>mick_g</dc:creator>
      <dc:date>2011-07-20T18:09:16Z</dc:date>
    </item>
    <item>
      <title>multiple exporting to excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34401#M593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you structure the reports to write to independent files so that they will not interfere with each other.&lt;/P&gt;&lt;P&gt;If you still need the combined files then create a step (pehaps in VB) that combines the files that runs when everything is finished.&amp;nbsp; That step should be fast as it is not doing any real calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 18:27:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34401#M593</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-07-20T18:27:44Z</dc:date>
    </item>
    <item>
      <title>multiple exporting to excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34402#M594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; All the jobs write to different excel or report files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that SQL and SAS DDE both open up excel to transport data.&amp;nbsp; If multiple SAS jobs are exporting with DDE or if SQL has an excel sheet open then the job bomb out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 18:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34402#M594</guid>
      <dc:creator>mick_g</dc:creator>
      <dc:date>2011-07-20T18:31:32Z</dc:date>
    </item>
    <item>
      <title>multiple exporting to excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34403#M595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I use only a bat file for all the programs that use dde then some of the report are late getting out.&amp;nbsp; The simple solution is to have another computer to execute jobs but that is not possible at this time.&amp;nbsp; So I am just trying to figure out a work around. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 18:33:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34403#M595</guid>
      <dc:creator>mick_g</dc:creator>
      <dc:date>2011-07-20T18:33:42Z</dc:date>
    </item>
    <item>
      <title>multiple exporting to excel</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34404#M596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible to have all the files created that needed exporting and then do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a dataset that contains the list of files that should be exported. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export files 1 by 1 calling whatever program.&lt;/P&gt;&lt;P&gt;As each export runs then update your list with a complete if success, failed if not using some _error_ variable to check for errors.&lt;/P&gt;&lt;P&gt;Check for the preceding job to complete to run. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dataset above should have the following format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export_job&amp;nbsp; date status&lt;/P&gt;&lt;P&gt;export1 01Jul2011 complete&lt;/P&gt;&lt;P&gt;dde1&amp;nbsp; 01Jul2011 complete&lt;/P&gt;&lt;P&gt;export2 01Jul2011 complete&lt;/P&gt;&lt;P&gt;dde2 01Jul2011 complete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically separate the export process to a separate section...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to write your data to CSV or another data source and have your excel reports pull data from that common source. So when the source gets updated the excel report will ask to be updated when reopened. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if any of that will work for you, it sounds like you have a really short timeline to run a large set of reports...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 19:41:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/multiple-exporting-to-excel/m-p/34404#M596</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-07-20T19:41:38Z</dc:date>
    </item>
  </channel>
</rss>

