<?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: Conversion of output file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/263539#M51585</link>
    <description>&lt;P&gt;Thanks Reza.&lt;/P&gt;&lt;P&gt;When I run sas code only, it works fine. When I add your suggested lines at the beginning and end, I get error messages. Possibly I need to work on it a bit more.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2016 14:47:20 GMT</pubDate>
    <dc:creator>HossainZ</dc:creator>
    <dc:date>2016-04-13T14:47:20Z</dc:date>
    <item>
      <title>Conversion of output file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/262220#M51144</link>
      <description>&lt;P&gt;How can I convert output (.lst) file to xlsx format?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 22:15:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/262220#M51144</guid>
      <dc:creator>HossainZ</dc:creator>
      <dc:date>2016-04-07T22:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of output file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/262223#M51145</link>
      <description>&lt;P&gt;You can't directly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're on SAS 9.4 though you can use ODS EXCEL to create an Excel file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You add&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel file='file path/name.xlsx;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your sas code;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will produce an excel file with your results. You can create PDF or RTF/Word files in a similar manner.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 22:28:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/262223#M51145</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-07T22:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of output file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/262302#M51172</link>
      <description>&lt;P&gt;Also have a look at ODS TAGSETS.EXCELXP. You get XML output that is properly read by Excel and can contain advanced formatting.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 06:20:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/262302#M51172</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-04-08T06:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of output file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/262327#M51178</link>
      <description>&lt;P&gt;Whilst I totally agree with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser﻿&lt;/a&gt;, create your output from SAS using the tools to create Excel files, you can import text (which is what a .lst file is) into Excel and process it if you really have to. &amp;nbsp;Open Excel, goto Data-&amp;gt;From Text, select your file (as its not .txt you will need to select All Files *.* in the filetypes box). &amp;nbsp;You will then see the Text Import Wizard, where you can set various options, delimiters, widths etc. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do note, that .lst files are just raw text, so there would be no formatting, and strcuturally it isn't the best to deal with. &amp;nbsp;Better to generate a proper report from SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 08:23:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/262327#M51178</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-08T08:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of output file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/263539#M51585</link>
      <description>&lt;P&gt;Thanks Reza.&lt;/P&gt;&lt;P&gt;When I run sas code only, it works fine. When I add your suggested lines at the beginning and end, I get error messages. Possibly I need to work on it a bit more.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 14:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Conversion-of-output-file/m-p/263539#M51585</guid>
      <dc:creator>HossainZ</dc:creator>
      <dc:date>2016-04-13T14:47:20Z</dc:date>
    </item>
  </channel>
</rss>

