<?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: How do I include text in my output? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319702#M70290</link>
    <description>Please post the complete code you used to generate the output or may be the screenshot . This will help us to provide a better suggestion.</description>
    <pubDate>Sat, 17 Dec 2016 03:19:43 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2016-12-17T03:19:43Z</dc:date>
    <item>
      <title>How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319690#M70279</link>
      <description>&lt;P&gt;I'm sure I'm not thinking of the correct keyword for searching, but I cannot find the answer to this simple question: &amp;nbsp;How do I write text at then end of my output? &amp;nbsp;For example, say my output consists of tables and at the end I want to write (in words) a summary of the results of that table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that I would have to go back and re-run the program after I find out what the results are, but what statement do I use, and where do I include it, so that the text is written at the end of the output? &amp;nbsp;I do not want to write a footnote because that will be printed at the bottom of each page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work in the Windows environment (v. 9.4) and I import my data so I don't know how I could include it in the data step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 00:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319690#M70279</guid>
      <dc:creator>ibaphd</dc:creator>
      <dc:date>2016-12-17T00:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319695#M70284</link>
      <description>&lt;P&gt;Are you using an ODS destination?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can look into ODS TEXT="your string..."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option, is to look at using a Jupyter Notebook which helps with this type of format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2016/04/24/how-to-run-sas-programs-in-jupyter-notebook/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2016/04/24/how-to-run-sas-programs-in-jupyter-notebook/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 02:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319695#M70284</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-17T02:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319698#M70287</link>
      <description>&lt;P&gt;Hi, thanks for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not using an ODS destination. &amp;nbsp;I looked at that but it seems too complicated for me! &amp;nbsp;I also looked at the Jupyter site -- it is definitely over my head! &amp;nbsp;I may have a Ph.D. but (unfortunately) it is not in any subject closely related to computers. &amp;nbsp;I'm a fish out of water here. &amp;nbsp;What I'm hoping to do is to print my results, including a summary, to a file (pdf, I guess -- that's what I know how to do) and put in Dropbox for my coauthors to look over. &amp;nbsp;I'll probably just have to do it the old fashioned way, but I thought I'd give this a shot first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for taking the time to respond!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 02:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319698#M70287</guid>
      <dc:creator>ibaphd</dc:creator>
      <dc:date>2016-12-17T02:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319702#M70290</link>
      <description>Please post the complete code you used to generate the output or may be the screenshot . This will help us to provide a better suggestion.</description>
      <pubDate>Sat, 17 Dec 2016 03:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319702#M70290</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-12-17T03:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319703#M70291</link>
      <description>&lt;P&gt;Here is it. &amp;nbsp;Thanks for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname rvsp 'C:\users\hay\desktop\rules vs principles paper\r vs p justification paper\';&lt;BR /&gt;filename rvsp1 'C:\users\hay\desktop\';&lt;BR /&gt;options linesize=80;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc import datafile = 'C:\users\hay\desktop\rules vs principles paper\r vs p justification paper\SASDATASETJUST.xls' out=RVSP.data121416f;&lt;/P&gt;&lt;P&gt;data new; set RVSP.data121416f;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 03:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319703#M70291</guid>
      <dc:creator>ibaphd</dc:creator>
      <dc:date>2016-12-17T03:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319704#M70292</link>
      <description>&lt;P&gt;That code just imports data. No analytical results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to be using ODS, it'll save you time in the long run. Or yeah, copy and paste. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS PDF file='sample.pdf' style = meadow;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Title 'PDF Results';&lt;/P&gt;
&lt;P&gt;proc REG data=SASHELP.class plots=(diagnostics residuals);&lt;/P&gt;
&lt;P&gt;model weight = height age;&lt;/P&gt;
&lt;P&gt;run;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods PDF close;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 03:44:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319704#M70292</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-17T03:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319708#M70294</link>
      <description>&lt;P&gt;When you create a report, using:&lt;/P&gt;
&lt;P&gt;proc print / proc report / proc tabulate and probably more other procedures&lt;/P&gt;
&lt;P&gt;you can add text:&lt;/P&gt;
&lt;P&gt;- using title1 to title10 - comming before the report body&lt;/P&gt;
&lt;P&gt;- using footnote1 to footnote10 - comming at the end, that is after the report body&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Titles and footnotes should precede the procedure that creates the report body&lt;/P&gt;
&lt;P&gt;And in both you can insert '~n' to break the line into sublines - but that&lt;/P&gt;
&lt;P&gt;needs &amp;nbsp;&lt;STRONG&gt;ODS escapechar = '~n';&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; to precede the above lines code.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 06:52:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319708#M70294</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-12-17T06:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319741#M70319</link>
      <description>&lt;P&gt;Okay, I understand now. &amp;nbsp;I've included it below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just running a simple program with 57 data points. &amp;nbsp;I use SAS because I analyze the data in several different ways and since I have unequal cell sizes, it's more accurate than SPSS. &amp;nbsp;I was thinking there might be a statement I was missing -- like "title" or "footnote" --that would allow me to add general text at the end. &amp;nbsp;Actually, this conversation may have helped me solve my problem in another way. At some point, I mentioned that I plan to save the output as a pdf file. I should be able to add text to the pdf file. &amp;nbsp;That may well be the easiest way to approach this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help (even if using the pdf file is the easiest way to go). &amp;nbsp;Maybe SAS will add a "endnote" statement in the future for something like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname rvsp 'C:\users\hay\desktop\rules vs principles paper\r vs p justification paper\';&lt;BR /&gt;filename rvsp1 'C:\users\hay\desktop\';&lt;BR /&gt;options linesize=80;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc import datafile = 'C:\users\hay\desktop\rules vs principles paper\r vs p justification paper\SASDATASETJUST.xls' out=RVSP.data121416f;&lt;/P&gt;&lt;P&gt;data new; set RVSP.data121416f;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort;&lt;BR /&gt;by agreei rp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glm;&lt;BR /&gt;class agreei rp;&lt;BR /&gt;model istmts = agreei|rp;&lt;BR /&gt;means agreei rp agreei*rp;&lt;BR /&gt;title 'Inventory';&lt;BR /&gt;title2 '# of Agreement/Disagreement Statements';&lt;BR /&gt;title3 'Disagreed (0)/Agreed (1) with Client Treatment';&lt;BR /&gt;title4 'Principles (1)/Rules (2) Conditions';&lt;BR /&gt;title5 '22101 21215 22205 22116 deleted';&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 19:00:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319741#M70319</guid>
      <dc:creator>ibaphd</dc:creator>
      <dc:date>2016-12-17T19:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include text in my output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319742#M70320</link>
      <description>&lt;P&gt;Hi Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for the input!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just now responded to the comment before yours and I may have solved the problem in my own "non-SAS" way!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 19:02:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-text-in-my-output/m-p/319742#M70320</guid>
      <dc:creator>ibaphd</dc:creator>
      <dc:date>2016-12-17T19:02:07Z</dc:date>
    </item>
  </channel>
</rss>

