<?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 Increase the max number of groups, how to in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55129#M1875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ODS Graphics limits the number of discrete values or groups to 1000 to prevent runaway jobs, where a group or category role may be assigned a column (unintionally) that has a very large number of unique values.&amp;nbsp; These are controlled by the DISCRETEMAX and GROUPMAX options on the ODS GRAPHICS statement.&amp;nbsp; You can set these values to a higher level for your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt;ods graphics / groupmax=1001;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/62755/HTML/default/viewer.htm#p0kroq43yu0lspn16hk1u4c65lti.htm"&gt;http://support.sas.com/documentation/cdl/en/odsug/62755/HTML/default/viewer.htm#p0kroq43yu0lspn16hk1u4c65lti.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2011 13:09:18 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2011-08-26T13:09:18Z</dc:date>
    <item>
      <title>Increase the max number of groups, how to</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55128#M1874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to increase the max number of groups for groups= option for BARCHART in the GTL? I seem to have hit the limit with 1092 groups. Interestingly proc sgplot doesn't seem to have the same limit.&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 03:40:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55128#M1874</guid>
      <dc:creator>Sticky</dc:creator>
      <dc:date>2011-08-26T03:40:11Z</dc:date>
    </item>
    <item>
      <title>Increase the max number of groups, how to</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55129#M1875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ODS Graphics limits the number of discrete values or groups to 1000 to prevent runaway jobs, where a group or category role may be assigned a column (unintionally) that has a very large number of unique values.&amp;nbsp; These are controlled by the DISCRETEMAX and GROUPMAX options on the ODS GRAPHICS statement.&amp;nbsp; You can set these values to a higher level for your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt;ods graphics / groupmax=1001;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/62755/HTML/default/viewer.htm#p0kroq43yu0lspn16hk1u4c65lti.htm"&gt;http://support.sas.com/documentation/cdl/en/odsug/62755/HTML/default/viewer.htm#p0kroq43yu0lspn16hk1u4c65lti.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 13:09:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55129#M1875</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2011-08-26T13:09:18Z</dc:date>
    </item>
    <item>
      <title>Increase the max number of groups, how to</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55130#M1876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this. I new there must be an option somewhere to increase this but its not mentioned in the error message or in the documentation for groups= . The only mention is in regard to increasing the memory available for ODS graphics. Also what is the limit for groups= in proc sgplot?&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Aug 2011 23:32:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55130#M1876</guid>
      <dc:creator>Sticky</dc:creator>
      <dc:date>2011-08-28T23:32:59Z</dc:date>
    </item>
    <item>
      <title>Increase the max number of groups, how to</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55131#M1877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't expect any difference at all for this scatter plot use case.&amp;nbsp; I just ran this code for SG and GTL, and I got the exact same log message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;data scatter;
&amp;nbsp; do g=1 to 1001;
&amp;nbsp;&amp;nbsp;&amp;nbsp; x=ranuni(2);
&amp;nbsp;&amp;nbsp;&amp;nbsp; y=ranuni(2);
&amp;nbsp;&amp;nbsp;&amp;nbsp; output;
&amp;nbsp; end;
run;

ods html close;&lt;BR /&gt;ods listing;
&lt;BR /&gt; &lt;BR /&gt;proc sgplot data=scatter tmplout='c:\max.sas';
&amp;nbsp; scatter x=x y=y / group=g;
run;

proc template;
&amp;nbsp; define statgraph max;
&amp;nbsp;&amp;nbsp;&amp;nbsp; begingraph;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scatterplot x=x y=y / group=g;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;
&amp;nbsp;&amp;nbsp;&amp;nbsp; endgraph;
&amp;nbsp; end;
run;

/*ods graphics / groupmax=1001;*/
proc sgrender data=scatter template=max;
run;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 01:35:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55131#M1877</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2011-08-29T01:35:35Z</dc:date>
    </item>
    <item>
      <title>Increase the max number of groups, how to</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55132#M1878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I had excluded some obs which meant the no groups dropped below 1000&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 04:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55132#M1878</guid>
      <dc:creator>Sticky</dc:creator>
      <dc:date>2011-08-29T04:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Increase the max number of groups, how to</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55133#M1879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sanjay for what a simple but hard found solution! I Have been searching the SAS Manual for a whole day but only found your answer here!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 06:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55133#M1879</guid>
      <dc:creator>SHUO</dc:creator>
      <dc:date>2015-07-17T06:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Increase the max number of groups, how to</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55134#M1880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are always looking to improve the documentation. I will update the GROUP= option in the next edition of the SAS ODS Graphics Procedures Guide with this information. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 16:23:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55134#M1880</guid>
      <dc:creator>JeanetteBottitta</dc:creator>
      <dc:date>2015-07-29T16:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Increase the max number of groups, how to</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55135#M1881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally, the software will write a note to the log indicating when this has happened, and the name of the option you can use to fix the issue.&amp;nbsp; In this case the note is not logged, sorry about that.&amp;nbsp; I have opened a defect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 16:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Increase-the-max-number-of-groups-how-to/m-p/55135#M1881</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-07-29T16:47:27Z</dc:date>
    </item>
  </channel>
</rss>

