<?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: Why there is NO group=xx in the output window? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291227#M60331</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, you will need to clarify your question, show example test data in a datastep, and what the output should look like and what code you are running. &amp;nbsp;You can get group information in a title or such like by:&lt;/P&gt;
&lt;PRE&gt;ods rtf file="....rtf";
proc print data=sashelp.class;
  by sex;
  title "Gender=#byval1";
run;
ods rtf close;&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 Aug 2016 12:00:24 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-08-12T12:00:24Z</dc:date>
    <item>
      <title>Why there is NO group=xx in the output window?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291215#M60328</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have one wired question noticed recent days.&lt;/P&gt;
&lt;P&gt;Suppose I have a group variable with 3 levels(like 1, 2 and 3), when I do an analysis by use BY Group statement, in the past, I can get the information in the output with header : Group=1 xxx; Group=2 xxx; Group=3 xxx; But recent days I can't see this. I can all these results in the output are stacked. It is not convenient to decide which page to which page is the result for group 1, 2 and 3, &amp;nbsp;respecitvely, easily, do you know if there is an option that can control this ?&lt;/P&gt;
&lt;P&gt;I use SAS 9.4 .&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jack.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 11:02:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291215#M60328</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-12T11:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why there is NO group=xx in the output window?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291227#M60331</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, you will need to clarify your question, show example test data in a datastep, and what the output should look like and what code you are running. &amp;nbsp;You can get group information in a title or such like by:&lt;/P&gt;
&lt;PRE&gt;ods rtf file="....rtf";
proc print data=sashelp.class;
  by sex;
  title "Gender=#byval1";
run;
ods rtf close;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Aug 2016 12:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291227#M60331</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-12T12:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why there is NO group=xx in the output window?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291243#M60335</link>
      <description>&lt;P&gt;What has recently changed about the data or the program? We might need a screenshot of the output or the program that gerneates the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could there have been a change to the label of&amp;nbsp;the BY variable? Compare the following analyses. &amp;nbsp;If the BY variable does not have a label, then the header is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BYVAR_NAME=Level&lt;/P&gt;
&lt;P&gt;but if a label exists you will get&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BYVAR_LABEL=Level&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.cars out=cars;
by origin;
run;

title "Output when BY variable does not have a label";
proc means data=cars;
by origin;
var mpg:;
run;


title "Output when BY variable has a label";
proc means data=cars;
label origin="My Group";
by origin;
var mpg:;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 13:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291243#M60335</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-12T13:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why there is NO group=xx in the output window?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291309#M60368</link>
      <description>&lt;P&gt;You might get this behavior if the BYLINE system option has been set to NOBYLINE.&lt;/P&gt;
&lt;P&gt;It would be very simple to&amp;nbsp;try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options byline;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;before the program and see if that fixes this.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 16:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291309#M60368</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-12T16:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why there is NO group=xx in the output window?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291852#M60489</link>
      <description>&lt;P&gt;Thanks for your advice. I will attached the shot in future. Not resolved.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291852#M60489</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-16T11:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why there is NO group=xx in the output window?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291853#M60490</link>
      <description>&lt;P&gt;Hi Rick,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it is due to the BYLINE options.&lt;/P&gt;
&lt;P&gt;Now resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Jack.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:44:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-there-is-NO-group-xx-in-the-output-window/m-p/291853#M60490</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-16T11:44:08Z</dc:date>
    </item>
  </channel>
</rss>

