<?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: ODS excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690524#M24560</link>
    <description>sorry meant to say that log was with both webouts. it worked, awesome !!!!! thanks you. Not sure why it did not work the first time around.&lt;BR /&gt;&lt;BR /&gt;ods listing close;&lt;BR /&gt;data _null_;  rc = stpsrv_header('Content-type','application/vnd.ms-excel'); run;&lt;BR /&gt;data _null_;  rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');  run;&lt;BR /&gt;&lt;BR /&gt;data _null_;  rc = stpsrv_header('Content-disposition', "attachment; filename=subpoena_&amp;amp;caserk._FITACCTSTXNS.xls"); run;&lt;BR /&gt;ODS excel  FILE=_webout style=plateau OPTIONS(SHEET_NAME="Class");&lt;BR /&gt;proc print data=NEPS_TXN; run;quit;&lt;BR /&gt;&lt;BR /&gt;ODS excel OPTIONS(SHEET_NAME="Class2");&lt;BR /&gt;proc print data=FITACCTSTXNS; run;quit;&lt;BR /&gt;&lt;BR /&gt;ods excel close ;&lt;BR /&gt;&lt;BR /&gt;will do some more testsing.</description>
    <pubDate>Fri, 09 Oct 2020 17:50:29 GMT</pubDate>
    <dc:creator>brendanb</dc:creator>
    <dc:date>2020-10-09T17:50:29Z</dc:date>
    <item>
      <title>ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690482#M24546</link>
      <description>&lt;P&gt;Hi, I am working on Linux.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to create a excel spreadsheet with multiple pages. I am running a stored proc via SAS ECM (using grid-action). The stored process essentially run a query and builds a few tables wit various structures, hence the need to write multiple sheets. I am then using _webout as a file destination to download the file to my machine. The procedure works fine with one table. The minute I add a second proc print I get an excel error stating that the format and extension of 'filename.xls' don't math. The file could be corrupt or unsafe. Unless you trust... I click yes to open and then it gives me three choices in an Open XML box, 1. As an XML table, 2. As a read-only Workbook, 3. Use the xml source pane. Any option fails to open the file. I have tried swapping content types, filename extensions, no luck. With the code below, if I choose just to print one table, I still get the format and extension message, but hen I click yes to open it works fine and I get the results. Your help would be appreciated. Thank you in advance. My code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing close; 
data _null_; 
rc = stpsrv_header('Content-type','application/vnd.ms-excel'); 
run; 

data _null_; 
rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); 
run; 

data _null_; 
rc = stpsrv_header('Content-disposition', "attachment; filename=subpoena_&amp;amp;caserk._txns.xls"); 
run; 

ODS excel FILE=_webout style=plateau OPTIONS(SHEET_NAME="Class"); proc print data=FITACCTSTXNS; 
run;quit; 

ODS excel FILE=_webout style=plateau OPTIONS(SHEET_NAME="Class2"); proc print data=PACS_057JTXNS; 
run;quit;

 ods excel close ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Oct 2020 16:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690482#M24546</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T16:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690486#M24547</link>
      <description>&lt;P&gt;Thank you for taking the time to post your code as SAS code.&amp;nbsp; It makes it *so* much easier to read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've struggled mightily with ODS from time to time.&amp;nbsp; ODS is wonderful and works great most of the time, but boy is it a pain when it does not work.&amp;nbsp; What I've done in the past to correct problems like this when working on the older ExcelXP destination is to open up the generated code and manually examine it for errors, and in fact I found a number of them.&amp;nbsp; I then used Proc Template and edited the template code for the destination to create work-arounds.&amp;nbsp; Template code is SAS-like but isn't exactly SAS.&amp;nbsp; It was a bit of a pain to work with, but I did successfully compensate for problems with merged cells and incorrectly formatted cells containing numbers defined as character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Presumably you're generating XLSX files that you are able to open on a laptop or desktop Windows machine.&amp;nbsp; XLSX files as I recall are really just zip files containing XML inside.&amp;nbsp; I believe you can:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Rename the file from .xlsx to .zip&lt;/LI&gt;
&lt;LI&gt;Unzip the file&lt;/LI&gt;
&lt;LI&gt;Retrieve the XML&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You would then have to look through the XML, manually, for problems.&amp;nbsp; ODS is doing something wrong, and you just have to find it, at least that's been my experience.&amp;nbsp; Vince DelGobbo (&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13635"&gt;@Vince_SAS&lt;/a&gt;) and Chevell Parker (&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13736"&gt;@Chevell_sas&lt;/a&gt;) are very knowledgeable SAS employees in this area.&amp;nbsp; You may need to call upon their expertise for something like this, but I would at least try to take a look at the XML and see what you can find.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 16:53:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690486#M24547</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-10-09T16:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690488#M24548</link>
      <description>For the second ODS EXCEL statement try removing the FILE= specification, the prior one should still be valid.</description>
      <pubDate>Fri, 09 Oct 2020 16:58:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690488#M24548</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-09T16:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690491#M24549</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Try this (untested) code:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;

data _null_; 
rc = stpsrv_header('Content-type','application/vnd.ms-excel'); 
rc = stpsrv_header('Content-disposition', "attachment; filename=subpoena_&amp;amp;caserk._txns.xlsx"); 
run; 

ods excel file=_webout style=plateau options(sheet_name="Class"); 

proc print data=FITACCTSTXNS; run; quit; 

ods excel options(sheet_name="Class2"); 

proc print data=PACS_057JTXNS; run; quit;

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:05:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690491#M24549</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-10-09T17:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690493#M24550</link>
      <description>Thanks for the quick response and tips, will have a look at this. I am a novice with ODS, hardly ever use it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Appreciated.</description>
      <pubDate>Fri, 09 Oct 2020 17:17:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690493#M24550</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T17:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690496#M24551</link>
      <description>thanks for the quick reply, i tried it, leaves me with just the one sheet.</description>
      <pubDate>Fri, 09 Oct 2020 17:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690496#M24551</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T17:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690498#M24552</link>
      <description>Can you show the log from the code?</description>
      <pubDate>Fri, 09 Oct 2020 17:23:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690498#M24552</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-09T17:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690503#M24553</link>
      <description>thanks for the help, i tried it, i only get the first print.</description>
      <pubDate>Fri, 09 Oct 2020 17:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690503#M24553</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T17:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690509#M24554</link>
      <description>&lt;P&gt;Try replacing the first data set with SASHELP.CLASS and the second with SASHELP.RETAIL, and rerun the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vince DelGobbo&lt;/P&gt;
&lt;P&gt;SAS R&amp;amp;D&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690509#M24554</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-10-09T17:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690512#M24555</link>
      <description>&lt;P&gt;please see attached log.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690512#M24555</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T17:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690515#M24556</link>
      <description>tried that, noticing this error at the end i dont understand.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;69        +&lt;BR /&gt;70        +&lt;BR /&gt;71        +ods listing close;&lt;BR /&gt;72        +data _null_;  rc = stpsrv_header('Content-type','application/vnd.ms-excel'); run;&lt;BR /&gt;&lt;BR /&gt;INFO: Character variables have defaulted to a length of 200 at the places given by: (Line):(Column). Truncation can result.&lt;BR /&gt;      72:15    rc&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;      real time           0.00 seconds&lt;BR /&gt;      user cpu time       0.00 seconds&lt;BR /&gt;      system cpu time     0.00 seconds&lt;BR /&gt;      memory              774.62k&lt;BR /&gt;      OS Memory           32672.00k&lt;BR /&gt;      Timestamp           2020/10/09 07:37:58 PM&lt;BR /&gt;      Step Count                        8621  Switch Count  0&lt;BR /&gt;      Page Faults                       0&lt;BR /&gt;&amp;#12;                                                                                          The SAS System&lt;BR /&gt;&lt;BR /&gt;      Page Reclaims                     2&lt;BR /&gt;      Page Swaps                        0&lt;BR /&gt;      Voluntary Context Switches        0&lt;BR /&gt;      Involuntary Context Switches      0&lt;BR /&gt;      Block Input Operations            0&lt;BR /&gt;      Block Output Operations           0&lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;73        +data _null_;  rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');  run;&lt;BR /&gt;&lt;BR /&gt;INFO: Character variables have defaulted to a length of 200 at the places given by: (Line):(Column). Truncation can result.&lt;BR /&gt;      73:15    rc&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;      real time           0.00 seconds&lt;BR /&gt;      user cpu time       0.00 seconds&lt;BR /&gt;      system cpu time     0.00 seconds&lt;BR /&gt;      memory              773.71k&lt;BR /&gt;      OS Memory           32672.00k&lt;BR /&gt;      Timestamp           2020/10/09 07:37:58 PM&lt;BR /&gt;      Step Count                        8622  Switch Count  0&lt;BR /&gt;      Page Faults                       0&lt;BR /&gt;      Page Reclaims                     2&lt;BR /&gt;      Page Swaps                        0&lt;BR /&gt;      Voluntary Context Switches        0&lt;BR /&gt;      Involuntary Context Switches      1&lt;BR /&gt;      Block Input Operations            0&lt;BR /&gt;      Block Output Operations           0&lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;74        +&lt;BR /&gt;75        +&lt;BR /&gt;76        +data _null_;  rc = stpsrv_header('Content-disposition', "attachment; filename=subpoena_&amp;amp;caserk._FITACCTSTXNS.xls"); run;&lt;BR /&gt;&lt;BR /&gt;INFO: Character variables have defaulted to a length of 200 at the places given by: (Line):(Column). Truncation can result.&lt;BR /&gt;      76:15    rc&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;      real time           0.00 seconds&lt;BR /&gt;      user cpu time       0.00 seconds&lt;BR /&gt;&amp;#12;                                                                                          The SAS System&lt;BR /&gt;&lt;BR /&gt;      system cpu time     0.00 seconds&lt;BR /&gt;      memory              774.62k&lt;BR /&gt;      OS Memory           32672.00k&lt;BR /&gt;      Timestamp           2020/10/09 07:37:58 PM&lt;BR /&gt;      Step Count                        8623  Switch Count  0&lt;BR /&gt;      Page Faults                       0&lt;BR /&gt;      Page Reclaims                     3&lt;BR /&gt;      Page Swaps                        0&lt;BR /&gt;      Voluntary Context Switches        0&lt;BR /&gt;      Involuntary Context Switches      1&lt;BR /&gt;      Block Input Operations            0&lt;BR /&gt;      Block Output Operations           0&lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;77        +ODS excel  FILE=_webout style=plateau OPTIONS(SHEET_NAME="Class");&lt;BR /&gt;78        +proc print data=SASHELP.CLASS; run;&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 19 observations read from the data set SASHELP.CLASS.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;      real time           0.04 seconds&lt;BR /&gt;      user cpu time       0.04 seconds&lt;BR /&gt;      system cpu time     0.00 seconds&lt;BR /&gt;      memory              1837.87k&lt;BR /&gt;      OS Memory           40388.00k&lt;BR /&gt;      Timestamp           2020/10/09 07:37:58 PM&lt;BR /&gt;      Step Count                        8624  Switch Count  0&lt;BR /&gt;      Page Faults                       0&lt;BR /&gt;      Page Reclaims                     317&lt;BR /&gt;      Page Swaps                        0&lt;BR /&gt;      Voluntary Context Switches        0&lt;BR /&gt;      Involuntary Context Switches      7&lt;BR /&gt;      Block Input Operations            0&lt;BR /&gt;      Block Output Operations           0&lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;78       !+                                   quit;&lt;BR /&gt;79        +&lt;BR /&gt;80        +ODS excel FILE=_webout OPTIONS(SHEET_NAME="Class2");&lt;BR /&gt;&amp;#12;                                                                                          The SAS System&lt;BR /&gt;&lt;BR /&gt;NOTE: Writing EXCEL Body file: _WEBOUT&lt;BR /&gt;81        +proc print data=SASHELP.RETAIL; run;&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 58 observations read from the data set SASHELP.RETAIL.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;      real time           0.10 seconds&lt;BR /&gt;      user cpu time       0.10 seconds&lt;BR /&gt;      system cpu time     0.01 seconds&lt;BR /&gt;      memory              1714.31k&lt;BR /&gt;      OS Memory           41668.00k&lt;BR /&gt;      Timestamp           2020/10/09 07:37:59 PM&lt;BR /&gt;      Step Count                        8625  Switch Count  0&lt;BR /&gt;      Page Faults                       0&lt;BR /&gt;      Page Reclaims                     374&lt;BR /&gt;      Page Swaps                        0&lt;BR /&gt;      Voluntary Context Switches        0&lt;BR /&gt;      Involuntary Context Switches      9&lt;BR /&gt;      Block Input Operations            0&lt;BR /&gt;      Block Output Operations           0&lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;81       !+                                    quit;&lt;BR /&gt;82        +&lt;BR /&gt;83        +ods excel close ;&lt;BR /&gt;NOTE: Writing EXCEL file: ./3F9A708B-5F2B-BD4C-AE18-EABD74948E86&lt;BR /&gt;ERROR: Physical file does not exist, /grid/config/Lev1/SASApp/3F9A708B-5F2B-BD4C-AE18-EABD74948E86.&lt;BR /&gt;84        +&lt;BR /&gt;85        +&lt;BR /&gt;86        +* Begin EG generated code (do not edit this line);&lt;BR /&gt;87        +;*';*";*/;quit;&lt;BR /&gt;88        +</description>
      <pubDate>Fri, 09 Oct 2020 17:40:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690515#M24556</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T17:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690516#M24557</link>
      <description>&lt;P&gt;That shows you still left the second _webout portion in your code (line 80 in the log). You need to remove the red part was the suggested solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS excel &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;FILE=_webout&lt;/STRONG&gt;&lt;/FONT&gt; OPTIONS(SHEET_NAME="Class2");&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:40:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690516#M24557</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-09T17:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690518#M24558</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;You didn't follow my code pattern; you still have FILE= on the second ODS statement, so you only get the last output.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690518#M24558</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-10-09T17:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690522#M24559</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Try adding a LENGTH statemement:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;length rc $32767;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690522#M24559</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-10-09T17:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690524#M24560</link>
      <description>sorry meant to say that log was with both webouts. it worked, awesome !!!!! thanks you. Not sure why it did not work the first time around.&lt;BR /&gt;&lt;BR /&gt;ods listing close;&lt;BR /&gt;data _null_;  rc = stpsrv_header('Content-type','application/vnd.ms-excel'); run;&lt;BR /&gt;data _null_;  rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');  run;&lt;BR /&gt;&lt;BR /&gt;data _null_;  rc = stpsrv_header('Content-disposition', "attachment; filename=subpoena_&amp;amp;caserk._FITACCTSTXNS.xls"); run;&lt;BR /&gt;ODS excel  FILE=_webout style=plateau OPTIONS(SHEET_NAME="Class");&lt;BR /&gt;proc print data=NEPS_TXN; run;quit;&lt;BR /&gt;&lt;BR /&gt;ODS excel OPTIONS(SHEET_NAME="Class2");&lt;BR /&gt;proc print data=FITACCTSTXNS; run;quit;&lt;BR /&gt;&lt;BR /&gt;ods excel close ;&lt;BR /&gt;&lt;BR /&gt;will do some more testsing.</description>
      <pubDate>Fri, 09 Oct 2020 17:50:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690524#M24560</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T17:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690537#M24561</link>
      <description>Hi, thanks for the help, I did what you said and it worked. did some more tests and it works like a dream! Thank you again, you have no idea how i struggled with this.</description>
      <pubDate>Fri, 09 Oct 2020 18:04:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690537#M24561</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T18:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690539#M24562</link>
      <description>This works, thanks, thought I could set two replies as a solution.</description>
      <pubDate>Fri, 09 Oct 2020 18:05:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690539#M24562</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T18:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690546#M24563</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;My papers might help you when working with Excel:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;&lt;A href="https://support.sas.com/rnd/papers/intro-multisheet-excel-with-sas/index.html" target="_blank"&gt;https://support.sas.com/rnd/papers/intro-multisheet-excel-with-sas/index.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;"ExcelXP Tagset Paper Index" link on that page might also be helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 18:18:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690546#M24563</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2020-10-09T18:18:18Z</dc:date>
    </item>
  </channel>
</rss>

