<?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: Print out a report by group? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Print-out-a-report-by-group/m-p/671914#M201835</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;I would like to out put the file with grouping the studysite first, then sorting the IDs later.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;use &lt;FONT face="courier new,courier"&gt;by studysite;&lt;/FONT&gt; instead of &lt;FONT face="courier new,courier"&gt;by studysite repeat_id;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jul 2020 18:36:43 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-07-23T18:36:43Z</dc:date>
    <item>
      <title>Print out a report by group?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-out-a-report-by-group/m-p/671912#M201834</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to print out a report by grouping studysites for a dataset 'test'.&amp;nbsp;&amp;nbsp; I have a code below.&amp;nbsp; However, I found out that the output file was order by studysite, it print out the studysite and the IDs one by one.&amp;nbsp;&amp;nbsp; I don't like that, I would like to out put the file with grouping the studysite first, then sorting the IDs later.&amp;nbsp;&amp;nbsp;I found there is no 'GROUP'&amp;nbsp;option in the&amp;nbsp;PROC PRINT,&amp;nbsp; please&amp;nbsp;advice&amp;nbsp;how to approach it?&amp;nbsp; Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;options orientation=portrait;
proc print data=test;
	var id repeat_id studysite DOB months days;
	where repeat_id in (&amp;amp;replistdob.);
	by studysite repeat_id;
	title 'More than 1 dob for a repeat ID';
run;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jul 2020 18:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-out-a-report-by-group/m-p/671912#M201834</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2020-07-23T18:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Print out a report by group?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-out-a-report-by-group/m-p/671914#M201835</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;I would like to out put the file with grouping the studysite first, then sorting the IDs later.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;use &lt;FONT face="courier new,courier"&gt;by studysite;&lt;/FONT&gt; instead of &lt;FONT face="courier new,courier"&gt;by studysite repeat_id;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 18:36:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-out-a-report-by-group/m-p/671914#M201835</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-23T18:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Print out a report by group?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-out-a-report-by-group/m-p/671915#M201836</link>
      <description>Thanks!</description>
      <pubDate>Thu, 23 Jul 2020 18:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-out-a-report-by-group/m-p/671915#M201836</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2020-07-23T18:41:28Z</dc:date>
    </item>
  </channel>
</rss>

