<?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 Saving, retrieving, printing output from the Results viewer and saving Graph results in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Saving-retrieving-printing-output-from-the-Results-viewer-and/m-p/731001#M227692</link>
    <description>&lt;P&gt;What is the best (fool-proof?) method to save the output from the Results screen / view generated in a SAS program.&amp;nbsp; An example is proc freq tables results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similarly, if you use ODS / proc gchart how are results saved so the chart or proc freq results can be saved and sent to others as attachments in emails or teams?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wklierman&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 17:11:59 GMT</pubDate>
    <dc:creator>wlierman</dc:creator>
    <dc:date>2021-04-02T17:11:59Z</dc:date>
    <item>
      <title>Saving, retrieving, printing output from the Results viewer and saving Graph results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saving-retrieving-printing-output-from-the-Results-viewer-and/m-p/731001#M227692</link>
      <description>&lt;P&gt;What is the best (fool-proof?) method to save the output from the Results screen / view generated in a SAS program.&amp;nbsp; An example is proc freq tables results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similarly, if you use ODS / proc gchart how are results saved so the chart or proc freq results can be saved and sent to others as attachments in emails or teams?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wklierman&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 17:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saving-retrieving-printing-output-from-the-Results-viewer-and/m-p/731001#M227692</guid>
      <dc:creator>wlierman</dc:creator>
      <dc:date>2021-04-02T17:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Saving, retrieving, printing output from the Results viewer and saving Graph results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saving-retrieving-printing-output-from-the-Results-viewer-and/m-p/731045#M227706</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/65907"&gt;@wlierman&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;What is the best (fool-proof?) method to save the output from the Results screen / view generated in a SAS program.&amp;nbsp; An example is proc freq tables results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similarly, if you use ODS / proc gchart how are results saved so the chart or proc freq results can be saved and sent to others as attachments in emails or teams?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In my possibly not so humble opinion taking control of your output by directing specific output to files using ODS destinations is the most fool proof. The only change needed to most programs would be to place code inside an ods sandwich:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods rtf file="path\filename.rtf" &amp;lt;other rtf related options if desired&amp;gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;proc freq code or any other procedures that generate output to the result window&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods rtf close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The document can be sent as an attachment or what ever.&lt;/P&gt;
&lt;P&gt;ODS RTF, Word or PDF can have graph and procedure tables both as content.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would strongly suggest learning Proc SGPLOT or SGPANEL in place of Gchart. For one thing Gchart requires additional licensing and there are many things you can do with SGPLOT/SGPANEL just not possible without lots of work with Gchart or Gplot.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 19:55:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saving-retrieving-printing-output-from-the-Results-viewer-and/m-p/731045#M227706</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-04-02T19:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Saving, retrieving, printing output from the Results viewer and saving Graph results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Saving-retrieving-printing-output-from-the-Results-viewer-and/m-p/731048#M227707</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; It will be very helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wklierman&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 20:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Saving-retrieving-printing-output-from-the-Results-viewer-and/m-p/731048#M227707</guid>
      <dc:creator>wlierman</dc:creator>
      <dc:date>2021-04-02T20:15:49Z</dc:date>
    </item>
  </channel>
</rss>

