<?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: Index TEMPINDX cannot be created in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903477#M356988</link>
    <description>Investigate the length of company_code and company_code_desc (the variables in the group by).  I assume there is no need to have  both variables in the group by statement and that company_code_desc has a considerable length. Does the code run if you remove company_code_desc?</description>
    <pubDate>Thu, 16 Nov 2023 11:52:23 GMT</pubDate>
    <dc:creator>JosvanderVelden</dc:creator>
    <dc:date>2023-11-16T11:52:23Z</dc:date>
    <item>
      <title>Index TEMPINDX cannot be created</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903405#M356977</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I run this code&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table WANT as
select Company_Code,Company_Code_Desc,
       count(*) as nr_Transactions format=comma23.,
	   count(distinct Branch_Cust_IP) as nr_Customers  format=comma23.,
	   sum(AMOUNT)/1000000 as AMOUNT   format=comma23.
from  r_r.Have
group by  Company_Code,Company_Code_Desc
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get this error&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ERROR: Index TEMPINDX cannot be created on file WORK.'SASTMP-000000169'n because the length of the index value (30640 bytes) is too 
       large. The index page size (currently 32767) must be large enough to store three index values plus a small overhead 
       structure. Reduce the length of the index value or use the IBUFSIZE= option to increase the index page size (up to a maximum 
       of 32,767 bytes).
ERROR: :Unable to create temporary index while processing summary functions.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What does it mean?&lt;/P&gt;
&lt;P&gt;HOw can I solve it?&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;&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 05:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903405#M356977</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-11-16T05:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Index TEMPINDX cannot be created</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903417#M356980</link>
      <description>&lt;P&gt;Maxim 3: Know Your Data.&lt;/P&gt;
&lt;P&gt;Look at the attributes of the involved variables.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 07:50:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903417#M356980</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-11-16T07:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Index TEMPINDX cannot be created</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903471#M356986</link>
      <description>&lt;P&gt;Apparently you had the same error in March – this is a thread where you didn’t reply to any of suggestions given:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/ERROR-Index-TEMPINDX-cannot-be-created-index-value-too-large/m-p/863998#M341231" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/ERROR-Index-TEMPINDX-cannot-be-created-index-value-too-large/m-p/863998#M341231&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 11:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903471#M356986</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-11-16T11:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Index TEMPINDX cannot be created</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903477#M356988</link>
      <description>Investigate the length of company_code and company_code_desc (the variables in the group by).  I assume there is no need to have  both variables in the group by statement and that company_code_desc has a considerable length. Does the code run if you remove company_code_desc?</description>
      <pubDate>Thu, 16 Nov 2023 11:52:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Index-TEMPINDX-cannot-be-created/m-p/903477#M356988</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-11-16T11:52:23Z</dc:date>
    </item>
  </channel>
</rss>

