<?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: Unable to create excel file while using code for pivot tables in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85765#M3163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I would actuallly recommend working with Tech Support. They can have you check your version of the TAGSET template (whether you have the most current version or not), they can look at all your code and they can test your code in SAS 9.2 (for example, I only run examples in SAS 9.3 because I don't have SAS 9.2 anymore since all our classes are conducted in 9.3).&lt;/P&gt;&lt;P&gt;&amp;nbsp; To open a track with Tech Support, fill out the form at this link: &lt;A class="active_link" href="http://support.sas.com/ctx/supportform/createForm"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If the paper authors provided contact information at the end of their paper, then they probably do not mind if you contact them. However, they do have other jobs and other responsibilities. So they might not have time to help you individually or in great detail. On the other hand, Tech Support will open a track for you and will stick with you until you get some resolution -- that's what they do!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 19:33:54 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-08-07T19:33:54Z</dc:date>
    <item>
      <title>Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85760#M3158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the below code ,when i run this code i am unable to create excel sheet,is it not possible to create excel sheet when we run ODStagsets+tableeditor options,or else do i have to click, export the reults from HTML page and then save it,what if i want to run the code in PC SAS,can anyone of you please help out.&lt;/P&gt;&lt;P&gt;this code is taken from &lt;A href="http://support.sas.com/resources/papers/proceedings12/146-2012.pdf"&gt;http://support.sas.com/resources/papers/proceedings12/146-2012.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i have to run all this code on PC SAS,if there is no way in creating excel sheet ,can you please give me some idea's as how it can be achieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let home = C:\HoW\Eberhardt-Kong_13173;&lt;/P&gt;&lt;P&gt;%let solutionHome = &amp;amp;home.\solutions;&lt;/P&gt;&lt;P&gt;%let exerciseHome = &amp;amp;home.\exercises;&lt;/P&gt;&lt;P&gt;%let dataHome = &amp;amp;home.\data;&lt;/P&gt;&lt;P&gt;%let resultsHome = &amp;amp;home.\results;&lt;/P&gt;&lt;P&gt;%let javaHome = C:\\HoW\\Eberhardt-Kong_13173\;&lt;/P&gt;&lt;P&gt;%let javaDataHome = &amp;amp;javaHome.\data\;&lt;/P&gt;&lt;P&gt;%let javaResultsHome = &amp;amp;javaHome.\results\;&lt;/P&gt;&lt;P&gt;/* assign the libraries */&lt;/P&gt;&lt;P&gt;libname data "&amp;amp;dataHome";&lt;/P&gt;&lt;P&gt;options fullstimer source source2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor file="&amp;amp;resultsHome\example1.html"&lt;/P&gt;&lt;P&gt;options(&lt;/P&gt;&lt;P&gt;button_text = "Create PivotTable"&lt;/P&gt;&lt;P&gt;auto_excel = "NO"&lt;/P&gt;&lt;P&gt;pivotrow="product_line"&lt;/P&gt;&lt;P&gt;pivotcol="year"&lt;/P&gt;&lt;P&gt;pivotdata="Profit,Quantity,Total_Retail_Price"&lt;/P&gt;&lt;P&gt;pivotdata_stats=”Sum,Average,Max”&lt;/P&gt;&lt;P&gt;excel_save_file="&amp;amp;JavaResultsHome\example1.xlsx"&lt;/P&gt;&lt;P&gt;quit="yes"&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;Title1 "Example 1 - Create the First Pivot Table";&lt;/P&gt;&lt;P&gt;proc print data=data.sales;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;ods tagsets.tableeditor close&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Mahesh P&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 09:08:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85760#M3158</guid>
      <dc:creator>MaheshPeesari</dc:creator>
      <dc:date>2012-08-07T09:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85761#M3159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does your log say? No error messages?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85761#M3159</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-08-07T16:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85762#M3160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you look on page 7 of that paper, you will find out how ODS TAGSETS.TABLEEDITOR creates the PIVOT table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;quote (highlighting and underlining is mine):&lt;/P&gt;&lt;P&gt;"In order to create a PivotTable you wrap some ODS around code that will create the data table upon which the&lt;/P&gt;&lt;P&gt;PivotTable is based. The ODS will cause SAS will create an HTML page with the data along with a command button.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff; text-decoration: underline;"&gt;&lt;STRONG&gt;Through the use of JavaScript the code behind the button on the HTML page will generate the necessary objects to&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff; text-decoration: underline;"&gt;&lt;STRONG&gt;start Excel and create the PivotTable using the ODS options you supply.&lt;/STRONG&gt;&lt;/SPAN&gt; For more discussion on the TableEditor&lt;/P&gt;&lt;P&gt;tagset refer to the papers by Parker cited in the references."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, when you use ODS methods, you are creating ASCII text files (HTML, HTML+JavaScript, CSV or XML files) that Excel knows how to open and render. The authors of that paper noted that their examples were all run in SAS 9.2 and they noted some issues with SAS 9.3. If you have problems you can do this:&lt;/P&gt;&lt;P&gt;1) contact the paper authors for help with their programs (which were tested in 9.2)&lt;/P&gt;&lt;P&gt;2) if you are running your program in a version other than 9.2, work with Tech Support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:42:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85762#M3160</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-08-07T16:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85763#M3161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used AUTO_EXCEL="Yes" ,but still i am unable to get the excel file generated without touching the "export tab" from result viewer.I am using SAS9.2,do they mind if i contact them directly.All i need is, when pivot tables are generated they have to automatically get created into the respective folders without touching the Export Button,once the data is loaded it has to perform automatically,no manual intervention should take place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your guidance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 18:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85763#M3161</guid>
      <dc:creator>MaheshPeesari</dc:creator>
      <dc:date>2012-08-07T18:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85764#M3162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no error message in the log file,Please check the below log file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;301&amp;nbsp; ods tagsets.tableeditor file="&amp;amp;resultsHome\example42.html"&lt;/P&gt;&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable RESULTSHOME resolves to E:\HoW\Eberhardt-Kong_13173\results&lt;/P&gt;&lt;P&gt;302&amp;nbsp; options(&lt;/P&gt;&lt;P&gt;303&amp;nbsp; AUTO_EXCEL="Yes"&lt;/P&gt;&lt;P&gt;304&amp;nbsp; button_text = "Create PivotTable"&lt;/P&gt;&lt;P&gt;305&amp;nbsp; auto_excel = "yes"&lt;/P&gt;&lt;P&gt;306&amp;nbsp; pivotrow = "product_line"&lt;/P&gt;&lt;P&gt;307&amp;nbsp; pivotcol = "year"&lt;/P&gt;&lt;P&gt;308&amp;nbsp; pivotdata = "profit,quantity"&lt;/P&gt;&lt;P&gt;309&amp;nbsp; pivotdata_stats = "sum,average"&lt;/P&gt;&lt;P&gt;310&amp;nbsp; excel_save_file="&amp;amp;JavaResultsHome\example42.xls"&lt;/P&gt;&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable JAVARESULTSHOME resolves to&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; E:\\HoW\\Eberhardt-Kong_13173\\results\&lt;/P&gt;&lt;P&gt;311&amp;nbsp; );&lt;/P&gt;&lt;P&gt;NOTE: Writing TAGSETS.TABLEEDITOR Body file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E:\HoW\Eberhardt-Kong_13173\results\example42.html&lt;/P&gt;&lt;P&gt;V2.55&amp;nbsp; 4/11/2012&lt;/P&gt;&lt;P&gt;312&amp;nbsp; Title1 "Example 2 - Change the Statistics";&lt;/P&gt;&lt;P&gt;313&amp;nbsp; proc print data=sashelp.orsales;&lt;/P&gt;&lt;P&gt;314&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: There were 912 observations read from the data set SASHELP.ORSALES.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.96 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.89 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Memory&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; 426k&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OS Memory&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; 11432k&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8/8/2012&amp;nbsp; 12:05:58 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;315&amp;nbsp; ods tagsets.tableeditor close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 18:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85764#M3162</guid>
      <dc:creator>MaheshPeesari</dc:creator>
      <dc:date>2012-08-07T18:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85765#M3163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I would actuallly recommend working with Tech Support. They can have you check your version of the TAGSET template (whether you have the most current version or not), they can look at all your code and they can test your code in SAS 9.2 (for example, I only run examples in SAS 9.3 because I don't have SAS 9.2 anymore since all our classes are conducted in 9.3).&lt;/P&gt;&lt;P&gt;&amp;nbsp; To open a track with Tech Support, fill out the form at this link: &lt;A class="active_link" href="http://support.sas.com/ctx/supportform/createForm"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If the paper authors provided contact information at the end of their paper, then they probably do not mind if you contact them. However, they do have other jobs and other responsibilities. So they might not have time to help you individually or in great detail. On the other hand, Tech Support will open a track for you and will stick with you until you get some resolution -- that's what they do!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 19:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85765#M3163</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-08-07T19:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85766#M3164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the record, running the code below gives a an Activex error and a IE script error but it does create the Excel file automatically on SAS 9.3&lt;/P&gt;&lt;P&gt;Try using the xls extension, but at the end of the day, Cynthia is correct Tech Support is your best bet because your IE settings or virus software could be stopping the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor file='C:\temp\table.html'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options (auto_excel="Yes"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; button_text='Create PivotTable'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pivotrow='product_line'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pivotcol='year'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pivotdata='profit,quantity'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pivotdata_stats='sum'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excel_save_file="C:\temp\table.xls");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data=sashelp.orsales;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 21:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85766#M3164</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-08-07T21:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85767#M3165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS that file creAted dynamically or else did you go&amp;nbsp; To the result viewer and then press the create pivot table button.because even for me fle gets created only after pressing the button in result viewer.i want this&amp;nbsp; to be automated because I will execute this code on PC SAS,and moreover all the code will be scheduled.&lt;/P&gt;&lt;P&gt;I want to add an action immediately after loading the page I,e&amp;nbsp; I E so that the excel file gets created once the page is Loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks for your help,as suggested I will raise a track with SAS Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 01:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85767#M3165</guid>
      <dc:creator>MaheshPeesari</dc:creator>
      <dc:date>2012-08-08T01:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85768#M3166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file was created automatically, I did have to clear the errors though, so I'd first have to work out those somehow.&lt;/P&gt;&lt;P&gt;I did not press the button on the webpage.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 15:39:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85768#M3166</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-08-08T15:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85769#M3167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible please try to post the log file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 05:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85769#M3167</guid>
      <dc:creator>MaheshPeesari</dc:creator>
      <dc:date>2012-08-09T05:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85770#M3168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doubt how this will help, but there you go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2559&lt;/P&gt;&lt;P&gt;2560&lt;/P&gt;&lt;P&gt;2561&lt;/P&gt;&lt;P&gt;2562&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods tagsets.tableeditor close;&lt;/P&gt;&lt;P&gt;2563&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods tagsets.tableeditor file='C:\temp\table.html'&lt;/P&gt;&lt;P&gt;2564&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options (auto_excel="Yes"&lt;/P&gt;&lt;P&gt;2565&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; button_text='Create PivotTable'&lt;/P&gt;&lt;P&gt;2566&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='product_line'&lt;/P&gt;&lt;P&gt;2567&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pivotcol='year'&lt;/P&gt;&lt;P&gt;2568&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='profit,quantity'&lt;/P&gt;&lt;P&gt;2569&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_stats='sum'&lt;/P&gt;&lt;P&gt;2570&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excel_save_file="C:\temp\table.xls");&lt;/P&gt;&lt;P&gt;NOTE: Writing TAGSETS.TABLEEDITOR Body file: C:\temp\table.html&lt;/P&gt;&lt;P&gt;V2.55&amp;nbsp; 4/11/2012&lt;/P&gt;&lt;P&gt;2571&lt;/P&gt;&lt;P&gt;2572&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data=sashelp.orsales;&lt;/P&gt;&lt;P&gt;2573&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: There were 912 observations read from the data set SASHELP.ORSALES.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.59 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.50 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2574&lt;/P&gt;&lt;P&gt;2575&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods tagsets.tableeditor close;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 15:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85770#M3168</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-08-09T15:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85771#M3169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only update from tech Support is ODStagsets.tableditor cannot be run in batchmode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thakns,&lt;/P&gt;&lt;P&gt;Mahesh P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 11:08:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/85771#M3169</guid>
      <dc:creator>MaheshPeesari</dc:creator>
      <dc:date>2012-08-14T11:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create excel file while using code for pivot tables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/698953#M20726</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you solve the problem? I have a same problem too&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 13:01:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unable-to-create-excel-file-while-using-code-for-pivot-tables/m-p/698953#M20726</guid>
      <dc:creator>yukki</dc:creator>
      <dc:date>2020-11-15T13:01:54Z</dc:date>
    </item>
  </channel>
</rss>

