<?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: XML files using ods xltagsets - unable to open error when opening with excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949139#M371324</link>
    <description>Ods listing close;&lt;BR /&gt;Ods tagsets.excelxp file=“&amp;amp;amp;file.”&lt;BR /&gt;Options(embedded_titles=‘yes’ minimize_style=‘yes’ warptext=‘yes’ autofit_height=‘yes’) rs=none style=Xlsansprinter;&lt;BR /&gt;Ods noproctitle;&lt;BR /&gt;Ods tagsets.excelxp style=xlsansprinter&lt;BR /&gt;Options(sheet_name=‘sheet1’ sheet_interval=‘none’ embedded_titles=‘yes’ absolute_column_width=“10,10”);&lt;BR /&gt;Title “sheet1”;&lt;BR /&gt;Proc print data=sashelp.cars(obs=5);&lt;BR /&gt;Var make origin;run;&lt;BR /&gt;Title;&lt;BR /&gt;Ods tagsets.excelxp close;</description>
    <pubDate>Sun, 27 Oct 2024 16:57:14 GMT</pubDate>
    <dc:creator>Kayalvizhi</dc:creator>
    <dc:date>2024-10-27T16:57:14Z</dc:date>
    <item>
      <title>XML files using ods xltagsets - unable to open error when opening with excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949110#M371318</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Facing issue with creating xml reports which ids created using  xltagsets.&lt;BR /&gt;&lt;BR /&gt;Logs are clean but report has either of the below error and it occurs 1/30 runs.&lt;BR /&gt;&lt;BR /&gt;1. “Unable to read”&lt;BR /&gt;2.”Problem during load&lt;BR /&gt;&lt;BR /&gt;The error which we are getting on reports which we are unable to replicate as the data refreshes earlier than before identifying the error in xml report..</description>
      <pubDate>Sun, 27 Oct 2024 04:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949110#M371318</guid>
      <dc:creator>Kayalvizhi</dc:creator>
      <dc:date>2024-10-27T04:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: XML files using ods xltagsets - unable to open error when opening with excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949119#M371320</link>
      <description>&lt;P&gt;Please show at least the ODS statement creating your files. Since the tagset I think you meant to use is tagsets.excelxp not "xltagsets" I suspect you may be using the wrong ODS statement.&amp;nbsp; Better would be to show a log for one of these "reports".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also what feature of XML do you need that means you aren't using ODS EXCEL if you want to open files in Excel?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 09:16:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949119#M371320</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-10-27T09:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: XML files using ods xltagsets - unable to open error when opening with excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949139#M371324</link>
      <description>Ods listing close;&lt;BR /&gt;Ods tagsets.excelxp file=“&amp;amp;amp;file.”&lt;BR /&gt;Options(embedded_titles=‘yes’ minimize_style=‘yes’ warptext=‘yes’ autofit_height=‘yes’) rs=none style=Xlsansprinter;&lt;BR /&gt;Ods noproctitle;&lt;BR /&gt;Ods tagsets.excelxp style=xlsansprinter&lt;BR /&gt;Options(sheet_name=‘sheet1’ sheet_interval=‘none’ embedded_titles=‘yes’ absolute_column_width=“10,10”);&lt;BR /&gt;Title “sheet1”;&lt;BR /&gt;Proc print data=sashelp.cars(obs=5);&lt;BR /&gt;Var make origin;run;&lt;BR /&gt;Title;&lt;BR /&gt;Ods tagsets.excelxp close;</description>
      <pubDate>Sun, 27 Oct 2024 16:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949139#M371324</guid>
      <dc:creator>Kayalvizhi</dc:creator>
      <dc:date>2024-10-27T16:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: XML files using ods xltagsets - unable to open error when opening with excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949140#M371325</link>
      <description>&lt;P&gt;Check the SAS log and make sure the PROC PRINT actually printed something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When no output is written between the opening and closing the ODS destination the resulting file is left in an invalid state.&amp;nbsp; Instead of EXCEL saying the file is empty it gives a strange error message.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 17:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949140#M371325</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-10-27T17:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: XML files using ods xltagsets - unable to open error when opening with excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949141#M371326</link>
      <description>Yes logs are clean without error and warning . But xml reports get corrupted sometimes. Actual data which was used different, in real-time.</description>
      <pubDate>Sun, 27 Oct 2024 17:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949141#M371326</guid>
      <dc:creator>Kayalvizhi</dc:creator>
      <dc:date>2024-10-27T17:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: XML files using ods xltagsets - unable to open error when opening with excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949147#M371327</link>
      <description>&lt;P&gt;Not writing any output would not cause an error in the SAS log.&lt;/P&gt;
&lt;P&gt;Are you sure the steps you ran produced output?&lt;/P&gt;
&lt;P&gt;Depending on what steps you ran you might have also used NOPRINT option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other possibility is the content is somehow confusing the XML.&amp;nbsp; What type of text is the report generating?&amp;nbsp; &amp;nbsp;Perhaps you can use a binary search to isolate some problem text in the data.&amp;nbsp; What happens if you ask it to produce only half of the output? Does it then work?&amp;nbsp; If so try producing the other half and see that causes trouble.&amp;nbsp; Repeat until problem data is isolated.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 19:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949147#M371327</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-10-27T19:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: XML files using ods xltagsets - unable to open error when opening with excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949153#M371328</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54371"&gt;@Kayalvizhi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Ods tagsets.excelxp creates xml files and these are typically saved as .xls.&lt;BR /&gt;&lt;/SPAN&gt;When Microsoft Excel reads these files, it gives warnings.&lt;BR /&gt;To avoid this you have two options&lt;/P&gt;
&lt;P&gt;1) use the xls2xlxs.vbs script&amp;nbsp; (&lt;A href="https://support.sas.com/kb/43/496.html" target="_blank"&gt;43496 - Convert files created using an ODS destination to native Microsoft Excel files&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;2) A better option is to use ods Excel rather than tagset excelxp.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 23:52:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XML-files-using-ods-xltagsets-unable-to-open-error-when-opening/m-p/949153#M371328</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2024-10-27T23:52:24Z</dc:date>
    </item>
  </channel>
</rss>

