<?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: Pivot Tables without HTML? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148133#M11499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was just searching for some help with exactly this issue and I have tried it.&amp;nbsp; For the most part it works.&amp;nbsp; One question has come up:&amp;nbsp; My javascript file keeps giving me a sheet_name of temp even though I specify another.&amp;nbsp; I am updating an excel file.&amp;nbsp; I would appreciate any help you can give me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 17:24:32 GMT</pubDate>
    <dc:creator>jacqelynl</dc:creator>
    <dc:date>2014-08-12T17:24:32Z</dc:date>
    <item>
      <title>Pivot Tables without HTML?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148131#M11497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've read a few articles about tagset.tableeditor to create pivot tables in excel, but they don't work for me.&amp;nbsp; Pressing the Export button causes a crash, plus having the unnecessary step of loading IE before I can get my output is much less than ideal.&amp;nbsp; Does anyone have an alternative? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 18:14:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148131#M11497</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-08-04T18:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Tables without HTML?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148132#M11498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another approach that you can take is to use the TableEditor tagset to update an existing file with the pivot table.&amp;nbsp; This could be any file type that could be opened by Excel&amp;nbsp; such as CSV, XML, HTML, XLSX.. With the version of the TableEditor tagset that I am pointing you to, there is a new option which is the OUTPUT_TYPE which you can set to Script. This will create a JavaScript file that you can simply execute using the X statement which will update the worksheet without having to create the intermediate HTML file.&amp;nbsp; You will either have to compile the tagset first or compile it by adding this on a %include statement.&lt;/P&gt;&lt;P&gt;&lt;A href="ftp://ftp.sas.com/techsup/download/base/SGF2014_examples.ZIP"&gt;ftp://ftp.sas.com/techsup/download/base/SGF2014_examples.ZIP&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Create file to update */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.Excelxp file="c:\temp.xml"&amp;nbsp; options(sheet_name="temp") ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;ods tagsets.Excelxp close; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* update the file with a simple pivot table&amp;nbsp; by creating a javascript file that we execute */ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options xnowait noxsync; &lt;/P&gt;&lt;P&gt;ods noresults; &lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor file="c:\testing_source.js" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(output_type="script" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; update_target="c:\\temp.xml" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sheet_name = "temp" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pivotrow = "age,sex" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pivotdata = "height,weight" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pivotdata_tocolumns = "yes" ); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data _null_; &lt;/P&gt;&lt;P&gt; file print; &lt;/P&gt;&lt;P&gt; put "test"; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ods tagsets.tableeditor close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* execute Script file */&lt;/P&gt;&lt;P&gt;x "c:\testing_source.js";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 20:29:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148132#M11498</guid>
      <dc:creator>Chevell_sas</dc:creator>
      <dc:date>2014-08-04T20:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Tables without HTML?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148133#M11499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was just searching for some help with exactly this issue and I have tried it.&amp;nbsp; For the most part it works.&amp;nbsp; One question has come up:&amp;nbsp; My javascript file keeps giving me a sheet_name of temp even though I specify another.&amp;nbsp; I am updating an excel file.&amp;nbsp; I would appreciate any help you can give me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 17:24:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148133#M11499</guid>
      <dc:creator>jacqelynl</dc:creator>
      <dc:date>2014-08-12T17:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Tables without HTML?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148134#M11500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not been able to replicate this yet. Just to verify, when running this example or similar example, you are specifying the same sheet_name= in the tableEditor tagset options list which matches the sheet name in the worksheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 13:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148134#M11500</guid>
      <dc:creator>Chevell_sas</dc:creator>
      <dc:date>2014-08-13T13:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Tables without HTML?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148135#M11501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I am.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 18:17:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-Tables-without-HTML/m-p/148135#M11501</guid>
      <dc:creator>jacqelynl49</dc:creator>
      <dc:date>2015-01-08T18:17:34Z</dc:date>
    </item>
  </channel>
</rss>

