<?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 Segmentation violation error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941060#M369304</link>
    <description>&lt;P&gt;I am working on a large data&amp;nbsp; where I am creating 150+ columns using case statements in proc sql create table with multiple join conditions&lt;/P&gt;
&lt;P&gt;When I try to run the code and create output it is giving me error for few tables where the record count is around 20 millions in source table .It is running fine for other tables where record count is less in source tables.&lt;/P&gt;
&lt;P&gt;I am not creating any sas view. I am creating tables in hive using proc sql sas code. I have done some research over the net about this error and my code is not falling into any categories where this error can occur as per sas support portal&lt;/P&gt;
&lt;P&gt;Can someone pls help resolve this.Below is the error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;ERROR:&amp;nbsp; An exception has been encountered.&lt;BR /&gt;Please contact technical support and provide them with the following traceback information:&lt;/DIV&gt;
&lt;DIV&gt;The SAS task name is [SQL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;BR /&gt;Segmentation Violation&lt;/DIV&gt;
&lt;DIV&gt;Traceback of the Exception:&lt;/DIV&gt;
&lt;DIV&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sas(+0x16844e) [0x7f68ffaf444e]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sas(+0x4ee1f) [0x7f68ff9dae1f]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/tkmk.so(bkt_signal_handler+0x144) [0x7f68fddcdac4]&lt;BR /&gt;/lib64/libpthread.so.0(+0x3d36c0f790) [0x7f68ff33e790]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(+0x23eff) [0x7f68c6175eff]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(+0x22ac3) [0x7f68c6174ac3]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(+0x2f9d8) [0x7f68c61819d8]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(+0x391a1) [0x7f68c618b1a1]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(sqltxt2+0x51e) [0x7f68c616711e]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlp(+0x5089d) [0x7f68c640d89d]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlp(sqlpsel+0xfb6) [0x7f68c640c5f6]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlp(sqlplan+0x219) [0x7f68c63f8de9]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlp(sqlprep+0x3ee) [0x7f68c642a89e]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqx(+0x3be91) [0x7f68c6dc4e91]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqx(sqlloop+0x417) [0x7f68c6dc4617]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassql(sassql+0x362) [0x7f68c7416402]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sas(vvtentr+0x18a) [0x7f68ff9da97a]&lt;BR /&gt;/lib64/libpthread.so.0(+0x3d36c07a51) [0x7f68ff336a51]&lt;BR /&gt;/lib64/libc.so.6(clone+0x6d) [0x7f68fe9c496d]&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2024 14:10:53 GMT</pubDate>
    <dc:creator>Sathya3</dc:creator>
    <dc:date>2024-08-27T14:10:53Z</dc:date>
    <item>
      <title>Segmentation violation error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941060#M369304</link>
      <description>&lt;P&gt;I am working on a large data&amp;nbsp; where I am creating 150+ columns using case statements in proc sql create table with multiple join conditions&lt;/P&gt;
&lt;P&gt;When I try to run the code and create output it is giving me error for few tables where the record count is around 20 millions in source table .It is running fine for other tables where record count is less in source tables.&lt;/P&gt;
&lt;P&gt;I am not creating any sas view. I am creating tables in hive using proc sql sas code. I have done some research over the net about this error and my code is not falling into any categories where this error can occur as per sas support portal&lt;/P&gt;
&lt;P&gt;Can someone pls help resolve this.Below is the error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;ERROR:&amp;nbsp; An exception has been encountered.&lt;BR /&gt;Please contact technical support and provide them with the following traceback information:&lt;/DIV&gt;
&lt;DIV&gt;The SAS task name is [SQL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;BR /&gt;Segmentation Violation&lt;/DIV&gt;
&lt;DIV&gt;Traceback of the Exception:&lt;/DIV&gt;
&lt;DIV&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sas(+0x16844e) [0x7f68ffaf444e]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sas(+0x4ee1f) [0x7f68ff9dae1f]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/tkmk.so(bkt_signal_handler+0x144) [0x7f68fddcdac4]&lt;BR /&gt;/lib64/libpthread.so.0(+0x3d36c0f790) [0x7f68ff33e790]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(+0x23eff) [0x7f68c6175eff]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(+0x22ac3) [0x7f68c6174ac3]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(+0x2f9d8) [0x7f68c61819d8]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(+0x391a1) [0x7f68c618b1a1]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlu(sqltxt2+0x51e) [0x7f68c616711e]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlp(+0x5089d) [0x7f68c640d89d]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlp(sqlpsel+0xfb6) [0x7f68c640c5f6]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlp(sqlplan+0x219) [0x7f68c63f8de9]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqlp(sqlprep+0x3ee) [0x7f68c642a89e]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqx(+0x3be91) [0x7f68c6dc4e91]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassqx(sqlloop+0x417) [0x7f68c6dc4617]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sassql(sassql+0x362) [0x7f68c7416402]&lt;BR /&gt;/home/sas/sas94m6/SASFoundation/9.4/sasexe/sas(vvtentr+0x18a) [0x7f68ff9da97a]&lt;BR /&gt;/lib64/libpthread.so.0(+0x3d36c07a51) [0x7f68ff336a51]&lt;BR /&gt;/lib64/libc.so.6(clone+0x6d) [0x7f68fe9c496d]&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 14:10:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941060#M369304</guid>
      <dc:creator>Sathya3</dc:creator>
      <dc:date>2024-08-27T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation violation error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941061#M369305</link>
      <description>&lt;PRE&gt;ERROR:  An exception has been encountered.
Please contact technical support and provide them with the following traceback information:&lt;/PRE&gt;
&lt;P&gt;Contact SAS Technical Support.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 14:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941061#M369305</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-08-27T14:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation violation error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941203#M369320</link>
      <description>&lt;P&gt;What is your SAS session MEMSIZE setting? Normally PROC SQL will error gracefully if it runs out of memory, but it is possible if it has way too little memory it may not behave gracefully. Run this to confirm your MEMSIZE and post the results:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option = memsize;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;In my experience, large SQL queries require a MEMSIZE of at least 6GB.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 21:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941203#M369320</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-08-27T21:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation violation error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941210#M369323</link>
      <description>&lt;P&gt;To note that &lt;CODE class=" language-sas"&gt;MEMSIZE&lt;/CODE&gt; is for memory including paging space. &lt;CODE class=" language-sas"&gt;REALMEMSIZE&lt;/CODE&gt; is for RAM only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 23:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Segmentation-violation-error/m-p/941210#M369323</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2024-08-27T23:47:29Z</dc:date>
    </item>
  </channel>
</rss>

