<?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: Error TempIndx in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/803015#M316192</link>
    <description>&lt;P&gt;I encountered a similar situation recently and the issue was that some of the attributes used in the groupby clause were very large strings.&amp;nbsp; Limiting the length of the characters in these attributes fixed the issue for me. For example I reduced the limit of character length from 2000 to 50.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 02:44:52 GMT</pubDate>
    <dc:creator>simeonthomas2</dc:creator>
    <dc:date>2022-03-21T02:44:52Z</dc:date>
    <item>
      <title>Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426919#M105229</link>
      <description>&lt;P&gt;Hi I try to run this code but I got an error how do we resolve this &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;25 CREATE TABLE ahsan AS&lt;/P&gt;&lt;P&gt;26 SELECT&lt;/P&gt;&lt;P&gt;27 Distinct&lt;/P&gt;&lt;P&gt;28 SERVICE_YEAR_MONTH,&lt;/P&gt;&lt;P&gt;29 BILL_PRVDR_NPI,&lt;/P&gt;&lt;P&gt;30 BILL_PRVDR_ID,&lt;/P&gt;&lt;P&gt;31 BILL_PRVDR_EIN,&lt;/P&gt;&lt;P&gt;32 MBR_ADMIN_CNTY_DESC,&lt;/P&gt;&lt;P&gt;33 BILL_PRVDR_CNTY_DESC,&lt;/P&gt;&lt;P&gt;34 MBR_RES_CNTY_DESC,&lt;/P&gt;&lt;P&gt;35 SVC_PRVDR_CNTY_DESC,&lt;/P&gt;&lt;P&gt;36 CA1_CA2,&lt;/P&gt;&lt;P&gt;37 RT_COHORT_AMT,&lt;/P&gt;&lt;P&gt;38 COUNT(DISTINCT MBR_ID) AS BENEFICIARIES,&lt;/P&gt;&lt;P&gt;39 SUM(PAID_AMT) AS TOTAL_AMOUNT_PAID&lt;/P&gt;&lt;P&gt;40 FROM KELLY_MEDICAID_TRANS_CA_COUNTY&lt;/P&gt;&lt;P&gt;41 GROUP BY&lt;/P&gt;&lt;P&gt;41 ! SERVICE_YEAR_MONTH,BILL_PRVDR_NPI,CA1_CA2,RT_COHORT_AMT,BILL_PRVDR_EIN,MBR_ADMIN_CNTY_DESC,BILL_PRVDR_CNTY_DESC,MBR_RES_C&lt;/P&gt;&lt;P&gt;41 ! NTY_DESC,SVC_PRVDR_CNTY_DESC&lt;/P&gt;&lt;P&gt;42 ORDER BY SERVICE_YEAR_MONTH,BILL_PRVDR_NPI,CA1_CA2,RT_COHORT_AMT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Index TEMPINDX cannot be created on file WORK.'SASTMP-000000048'n because the length of the index value (16096 bytes) is too&lt;/P&gt;&lt;P&gt;large. The index page size (currently 32767) must be large enough to store three index values plus a small overhead&lt;/P&gt;&lt;P&gt;structure. Reduce the length of the index value or use the IBUFSIZE= option to increase the index page size (up to a maximum&lt;/P&gt;&lt;P&gt;of 32,767 bytes).&lt;/P&gt;&lt;P&gt;ERROR: :Unable to create temporary index while processing summary functions.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 16:57:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426919#M105229</guid>
      <dc:creator>Ahsan</dc:creator>
      <dc:date>2018-01-11T16:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426921#M105230</link>
      <description>&lt;P&gt;check this link below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/48/733.html" target="_blank"&gt;http://support.sas.com/kb/48/733.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 17:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426921#M105230</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-01-11T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426922#M105231</link>
      <description>I can't see the commands creating an index, but this could be a problem caused by viewing this page on my phone. The error suggests two things two solve the issue, increasing index buffer size seems to be the easier way.</description>
      <pubDate>Thu, 11 Jan 2018 17:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426922#M105231</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2018-01-11T17:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426924#M105232</link>
      <description>&lt;P&gt;After some search, what I find this could be memory issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you really need order by. order by needs lot of work under the hood. Unless you use it for some purpose, I would remove order by and run the query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 17:09:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426924#M105232</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-01-11T17:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426930#M105236</link>
      <description>I removed order by statement still getting the error</description>
      <pubDate>Thu, 11 Jan 2018 17:45:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426930#M105236</guid>
      <dc:creator>Ahsan</dc:creator>
      <dc:date>2018-01-11T17:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426931#M105237</link>
      <description>how do we increase the buffer size</description>
      <pubDate>Thu, 11 Jan 2018 17:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426931#M105237</guid>
      <dc:creator>Ahsan</dc:creator>
      <dc:date>2018-01-11T17:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426937#M105240</link>
      <description>&lt;P&gt;how large is the dataset?&amp;nbsp; does your group by and variables you mention in select are same?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426937#M105240</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-01-11T18:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426939#M105242</link>
      <description>it wasn't same but I corrected and still getting the error</description>
      <pubDate>Thu, 11 Jan 2018 18:10:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426939#M105242</guid>
      <dc:creator>Ahsan</dc:creator>
      <dc:date>2018-01-11T18:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426946#M105244</link>
      <description>19+ million rows that's how large the dataset is</description>
      <pubDate>Thu, 11 Jan 2018 18:22:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/426946#M105244</guid>
      <dc:creator>Ahsan</dc:creator>
      <dc:date>2018-01-11T18:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/495398#M130736</link>
      <description>&lt;P&gt;check the length of your columns, i had the same issue and a colesce put my length to 8000. once i fixed length it ran fine.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 16:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/495398#M130736</guid>
      <dc:creator>lkjsdalfkjsd</dc:creator>
      <dc:date>2018-09-13T16:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error TempIndx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/803015#M316192</link>
      <description>&lt;P&gt;I encountered a similar situation recently and the issue was that some of the attributes used in the groupby clause were very large strings.&amp;nbsp; Limiting the length of the characters in these attributes fixed the issue for me. For example I reduced the limit of character length from 2000 to 50.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 02:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-TempIndx/m-p/803015#M316192</guid>
      <dc:creator>simeonthomas2</dc:creator>
      <dc:date>2022-03-21T02:44:52Z</dc:date>
    </item>
  </channel>
</rss>

