<?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 &amp;quot;your tab just crashed&amp;quot; while doing call execute on fedsql in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/quot-your-tab-just-crashed-quot-while-doing-call-execute-on/m-p/790133#M252936</link>
    <description>&lt;P&gt;I have to read 6000 rows from an aggregated table whose value pairs are unique and filter another table in a fedsql join.&lt;/P&gt;
&lt;P&gt;It works but I have to cut its execution into pieces by using firstobs and obs statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From trial and error 500 observations still work fine but reading more rows makes the browser crush.&lt;/P&gt;
&lt;P&gt;I think it has to do with the amount of notes that are generated (up to 10000 after reading 500 rows), it seems to me that they overflow the available memory. but they're only note...&lt;/P&gt;
&lt;P&gt;I'm confused.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a1.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67399iA80D36899866A6AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="a1.png" alt="a1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;here is some extract from the log.&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;PRE&gt;&lt;CODE class=" language-sas"&gt;proc cas;
source MPG_toyota; 
create table public.progress{options replace=true} as select '52290' as fk_clave_com, '2_101' as 
uniqueID, 3 as frek_campaign, 'Q2' as  from_gama_agg,
22572 as start_date, 22635 as end_date , count(*) from 
PUBLIC.FACT_DIARIO_MARCAS2 where from_gama_agg= 'Q2' and 22572 &amp;lt;= _sales_date and _sales_date &amp;lt;= 22635 ; 
endsource;fedSQL.execDirect / query=MPG_toyota;
quit;

data public.progress;
set public.progress(obs=0);
run;


data _null_;
set public.dist(keep=from_gama_agg st fin _fk_clave_com_f n_total uniqueID firstobs=1 obs=500);
call execute (catx(' ', 'proc cas;
source MPG_toyota; 
create table public.temp{options replace=true} as select ', 
quote(strip(_fk_clave_com_f), "'"),'as fk_clave_com,',
put(quote(strip(uniqueID), "'"), $17.),'as uniqueID,',
n_total,'as frek_campaign,', 
quote(strip(from_gama_agg), "'"),'as from_gama_agg,',
st,' as start_date,',
fin,' as end_date,
count(*) from  
PUBLIC.FACT_DIARIO_MARCAS2 where from_gama_agg=', quote(strip(from_gama_agg), "'"), 'and ', st,  
'&amp;lt;= _sales_date and _sales_date &amp;lt;= ', fin, '; 
endsource;
fedSQL.execDirect / query=MPG_toyota;
quit;
data public.progress;
set public.progress  public.temp  ;
run;'
));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 13:31:57 GMT</pubDate>
    <dc:creator>acordes</dc:creator>
    <dc:date>2022-01-14T13:31:57Z</dc:date>
    <item>
      <title>"your tab just crashed" while doing call execute on fedsql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-your-tab-just-crashed-quot-while-doing-call-execute-on/m-p/790133#M252936</link>
      <description>&lt;P&gt;I have to read 6000 rows from an aggregated table whose value pairs are unique and filter another table in a fedsql join.&lt;/P&gt;
&lt;P&gt;It works but I have to cut its execution into pieces by using firstobs and obs statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From trial and error 500 observations still work fine but reading more rows makes the browser crush.&lt;/P&gt;
&lt;P&gt;I think it has to do with the amount of notes that are generated (up to 10000 after reading 500 rows), it seems to me that they overflow the available memory. but they're only note...&lt;/P&gt;
&lt;P&gt;I'm confused.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a1.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67399iA80D36899866A6AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="a1.png" alt="a1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;here is some extract from the log.&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;PRE&gt;&lt;CODE class=" language-sas"&gt;proc cas;
source MPG_toyota; 
create table public.progress{options replace=true} as select '52290' as fk_clave_com, '2_101' as 
uniqueID, 3 as frek_campaign, 'Q2' as  from_gama_agg,
22572 as start_date, 22635 as end_date , count(*) from 
PUBLIC.FACT_DIARIO_MARCAS2 where from_gama_agg= 'Q2' and 22572 &amp;lt;= _sales_date and _sales_date &amp;lt;= 22635 ; 
endsource;fedSQL.execDirect / query=MPG_toyota;
quit;

data public.progress;
set public.progress(obs=0);
run;


data _null_;
set public.dist(keep=from_gama_agg st fin _fk_clave_com_f n_total uniqueID firstobs=1 obs=500);
call execute (catx(' ', 'proc cas;
source MPG_toyota; 
create table public.temp{options replace=true} as select ', 
quote(strip(_fk_clave_com_f), "'"),'as fk_clave_com,',
put(quote(strip(uniqueID), "'"), $17.),'as uniqueID,',
n_total,'as frek_campaign,', 
quote(strip(from_gama_agg), "'"),'as from_gama_agg,',
st,' as start_date,',
fin,' as end_date,
count(*) from  
PUBLIC.FACT_DIARIO_MARCAS2 where from_gama_agg=', quote(strip(from_gama_agg), "'"), 'and ', st,  
'&amp;lt;= _sales_date and _sales_date &amp;lt;= ', fin, '; 
endsource;
fedSQL.execDirect / query=MPG_toyota;
quit;
data public.progress;
set public.progress  public.temp  ;
run;'
));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 13:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-your-tab-just-crashed-quot-while-doing-call-execute-on/m-p/790133#M252936</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2022-01-14T13:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: "your tab just crashed" while doing call execute on fedsql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-your-tab-just-crashed-quot-while-doing-call-execute-on/m-p/790226#M252969</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/127222"&gt;@acordes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try adjusting the&amp;nbsp;&lt;SPAN&gt; DMSLOGSIZE option.&amp;nbsp; The default is&amp;nbsp; DMSLOGSIZE=99999.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;OPTIONS&amp;nbsp;&amp;nbsp;&lt;SPAN&gt; DMSLOGSIZE=&amp;nbsp; &amp;nbsp; &amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 19:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-your-tab-just-crashed-quot-while-doing-call-execute-on/m-p/790226#M252969</guid>
      <dc:creator>JOL</dc:creator>
      <dc:date>2022-01-14T19:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: "your tab just crashed" while doing call execute on fedsql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-your-tab-just-crashed-quot-while-doing-call-execute-on/m-p/790253#M252978</link>
      <description>&lt;P&gt;What SAS user interface are you using? I assume it is SAS Studio but what version? What version of Viya are you using? What does "your tab just crashed" mean? I don't see any errors in your screenshot. Do you see any errors when the browser crashes? What browser and version are you using. Does another browser cause the same problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using - options nonotes; - might help but I'm not entirely convinced that is the problem. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 21:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-your-tab-just-crashed-quot-while-doing-call-execute-on/m-p/790253#M252978</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-01-14T21:22:30Z</dc:date>
    </item>
  </channel>
</rss>

