<?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 Sas crashes after running this code in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142533#M37917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;The&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;ods _all_ close;&lt;/DIV&gt;&lt;DIV&gt;ods tagsets.ExcelXP path='\\Netapp4\Sasdata\Risk Modelling\CL Fleet\ROI\2014\00 - Main DWH\Enhanced DWH' file='Claims_dists.xml'&lt;/DIV&gt;&lt;DIV&gt;style=Printer;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;%macro sheets(var);&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;ods tagsets.ExcelXP options(sheet_name="&amp;amp;var");&lt;/DIV&gt;&lt;DIV&gt;proc print data=&amp;amp;VAR._DIST noobs style(Header)=[just=center];&lt;/DIV&gt;&lt;DIV&gt;run; quit;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;%mend;&lt;/DIV&gt;&lt;DIV&gt;%sheets(OWN);&lt;/DIV&gt;&lt;DIV&gt;%sheets(TPI);&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;ods tagsets.ExcelXP close;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 17:02:36 GMT</pubDate>
    <dc:creator>brophymj</dc:creator>
    <dc:date>2015-01-28T17:02:36Z</dc:date>
    <item>
      <title>Sas crashes after running this code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142533#M37917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;The&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;ods _all_ close;&lt;/DIV&gt;&lt;DIV&gt;ods tagsets.ExcelXP path='\\Netapp4\Sasdata\Risk Modelling\CL Fleet\ROI\2014\00 - Main DWH\Enhanced DWH' file='Claims_dists.xml'&lt;/DIV&gt;&lt;DIV&gt;style=Printer;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;%macro sheets(var);&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;ods tagsets.ExcelXP options(sheet_name="&amp;amp;var");&lt;/DIV&gt;&lt;DIV&gt;proc print data=&amp;amp;VAR._DIST noobs style(Header)=[just=center];&lt;/DIV&gt;&lt;DIV&gt;run; quit;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;%mend;&lt;/DIV&gt;&lt;DIV&gt;%sheets(OWN);&lt;/DIV&gt;&lt;DIV&gt;%sheets(TPI);&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;ods tagsets.ExcelXP close;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142533#M37917</guid>
      <dc:creator>brophymj</dc:creator>
      <dc:date>2015-01-28T17:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sas crashes after running this code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142534#M37918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should talk to tech support, there are too many things to check.&lt;/P&gt;&lt;P&gt;ie.&lt;/P&gt;&lt;P&gt;Does the macro run without using tagsets?&lt;/P&gt;&lt;P&gt;Do you have the latest version of tagsets?&lt;/P&gt;&lt;P&gt;What version of SAS?&lt;/P&gt;&lt;P&gt;Is the code running and then crashing as the file tries to open the XML file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:11:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142534#M37918</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-28T17:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sas crashes after running this code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142535#M37919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The macro runs fine and produces the multisheet excel file no problem. It's only when i run something else in sas that it takes ages to do anything and I have to close out of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the Base version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142535#M37919</guid>
      <dc:creator>brophymj</dc:creator>
      <dc:date>2015-01-28T17:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sas crashes after running this code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142536#M37920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many records are you printing? SAS be default tries to open you output and it may be taking a long time to render. Also if you exceeded the number of rows of the program that may be trying to display the data (Excel anyone?) that process is hanging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The superfluous quit; shouldn't be causing an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you run this without the macros as 2 proc print calls within the tagsets.excelxp?&lt;/P&gt;&lt;P&gt;Or with file='\\Netapp4\Sasdata\Risk Modelling\CL Fleet\ROI\2014\00 - Main DWH\Enhanced DWH\Claims_dists.xml'&lt;/P&gt;&lt;P&gt;instead of Path and file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 18:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142536#M37920</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-01-28T18:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sas crashes after running this code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142537#M37921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know why it is happening now but I don't know how to stop it. Loads of script is being generated in the Reviewer and even once the xms files are created the Reviewer keeps being populated with code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In terms of size, the files have 6000 rows and 4/5 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some code I can use to stop the Reviewer generating script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My intention, once the XML files are created is to convert them to xlsx. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 10:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142537#M37921</guid>
      <dc:creator>brophymj</dc:creator>
      <dc:date>2015-01-29T10:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sas crashes after running this code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142538#M37922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a bit confused by your post.&amp;nbsp; What is the "Reviewer"?&amp;nbsp; As for your intention, XLSX files are merely a ZIP of XML files in Open Office format.&amp;nbsp; Also, you can achieve a multi-sheet output by using:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="text-align: left;"&gt;SHEET_INTERVAL&lt;/TD&gt;&lt;TD&gt;Table&lt;/TD&gt;&lt;TD&gt;Interval to divide the output between worksheets. Values are Table, Page, Bygroup, Proc, or None&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you may not need to generate the code, set all your data together with a title column, then do a proc report by.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 10:59:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142538#M37922</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-01-29T10:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sas crashes after running this code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142539#M37923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go into options and turn off the setting that states - View results as generated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-crashes-after-running-this-code/m-p/142539#M37923</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-29T12:00:13Z</dc:date>
    </item>
  </channel>
</rss>

