<?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: Export to notepad in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138047#M37093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;options missing = '0'; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2014 01:03:23 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2014-10-23T01:03:23Z</dc:date>
    <item>
      <title>Export to notepad</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138046#M37092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a few data sets that I have merged together and manipulated with PROC REPORT. I am struggling with two things&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I can't seem to figure out how to get a 0 input for missing/blank data&lt;/LI&gt;&lt;LI&gt;I need to export this data into notepad as a txt file&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any help/hints would be great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 00:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138046#M37092</guid>
      <dc:creator>Becca</dc:creator>
      <dc:date>2014-10-23T00:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Export to notepad</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138047#M37093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;options missing = '0'; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 01:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138047#M37093</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-10-23T01:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export to notepad</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138048#M37094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That worked like a charm!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 01:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138048#M37094</guid>
      <dc:creator>Becca</dc:creator>
      <dc:date>2014-10-23T01:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Export to notepad</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138049#M37095</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; When you say that you "need to export this data into notepad as a txt file", do you mean you need to export ONLY the data or you need a PROC REPORT type report in a TEXT file. You can simply use ODS LISTING FILE= if you want the PROC REPORT output in Notepad/TXT file, however, this will send your SAS titles to the TXT file too. Something like the program below. Otherwise, you could do something with a DATA Step program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing file='c:\temp\myreport.txt';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options nodate number pageno=1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class ls=80 ps=60;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title 'This is the Title';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;column name sex age height weight;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define name / order;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define sex / display f=$3.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define age / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define height / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define weight / display;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11339i3A8A428085AA1285/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="save_report_as_txt.png" title="save_report_as_txt.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 02:16:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Export-to-notepad/m-p/138049#M37095</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-10-23T02:16:13Z</dc:date>
    </item>
  </channel>
</rss>

