<?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 PROC SGPANEL ERROR ERROR:  An exception has been encountered. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-SGPANEL-ERROR-ERROR-An-exception-has-been-encountered/m-p/898507#M355133</link>
    <description>&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of a sudden I’m starting to get the following error below about sgpanel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea about the root cause?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bests&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;MPRINT(SOURCED):&amp;nbsp;&amp;nbsp; proc sgpanel data=tr_test (where=(lowcase(opportunity_type) contains "software" or lowcase(opportunity_type)

contains "managed"));

MPRINT(SOURCED):&amp;nbsp;&amp;nbsp; panelby countryname opportunity_type;

MPRINT(SOURCED):&amp;nbsp;&amp;nbsp; vbar class / response=col1 group=_name_ stat=sum nostatlabel groupdisplay=cluster;

MPRINT(SOURCED):&amp;nbsp;&amp;nbsp; run;



NOTE: Since no format is assigned, the numeric category variable will use the default of BEST6.

NOTE: Compressing data set WORK._SGSORT_ increased size by 100.00 percent.

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Compressed is 2 pages; un-compressed would require 1 pages.

NOTE: Compressing data set WORK._OPNTMP000000000000000000000 increased size by 100.00 percent.

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Compressed is 2 pages; un-compressed would require 1 pages.



ERROR:&amp;nbsp; An exception has been encountered.

Please contact technical support and provide them with the following traceback information:



The SAS task name is [SGPANEL ]

Segmentation Violation&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 13 Oct 2023 16:39:17 GMT</pubDate>
    <dc:creator>dcortell</dc:creator>
    <dc:date>2023-10-13T16:39:17Z</dc:date>
    <item>
      <title>PROC SGPANEL ERROR ERROR:  An exception has been encountered.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SGPANEL-ERROR-ERROR-An-exception-has-been-encountered/m-p/898507#M355133</link>
      <description>&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of a sudden I’m starting to get the following error below about sgpanel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea about the root cause?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bests&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;MPRINT(SOURCED):&amp;nbsp;&amp;nbsp; proc sgpanel data=tr_test (where=(lowcase(opportunity_type) contains "software" or lowcase(opportunity_type)

contains "managed"));

MPRINT(SOURCED):&amp;nbsp;&amp;nbsp; panelby countryname opportunity_type;

MPRINT(SOURCED):&amp;nbsp;&amp;nbsp; vbar class / response=col1 group=_name_ stat=sum nostatlabel groupdisplay=cluster;

MPRINT(SOURCED):&amp;nbsp;&amp;nbsp; run;



NOTE: Since no format is assigned, the numeric category variable will use the default of BEST6.

NOTE: Compressing data set WORK._SGSORT_ increased size by 100.00 percent.

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Compressed is 2 pages; un-compressed would require 1 pages.

NOTE: Compressing data set WORK._OPNTMP000000000000000000000 increased size by 100.00 percent.

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Compressed is 2 pages; un-compressed would require 1 pages.



ERROR:&amp;nbsp; An exception has been encountered.

Please contact technical support and provide them with the following traceback information:



The SAS task name is [SGPANEL ]

Segmentation Violation&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Oct 2023 16:39:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SGPANEL-ERROR-ERROR-An-exception-has-been-encountered/m-p/898507#M355133</guid>
      <dc:creator>dcortell</dc:creator>
      <dc:date>2023-10-13T16:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPANEL ERROR ERROR:  An exception has been encountered.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SGPANEL-ERROR-ERROR-An-exception-has-been-encountered/m-p/898535#M355145</link>
      <description>&lt;P&gt;I discovered the error being associated to the variable length utilized, which was changed in the mart with a huge format of $480.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I re-formatted the var to $30. and the error is not showing anymore&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 19:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SGPANEL-ERROR-ERROR-An-exception-has-been-encountered/m-p/898535#M355145</guid>
      <dc:creator>dcortell</dc:creator>
      <dc:date>2023-10-13T19:33:31Z</dc:date>
    </item>
  </channel>
</rss>

