<?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: Endless running of code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Endless-running-of-code/m-p/739298#M230719</link>
    <description>&lt;P&gt;How many columns does the table &lt;SPAN&gt;p_sg_eap_v.eap_event&amp;nbsp;&lt;/SPAN&gt;in your DBMS have?&lt;/P&gt;
&lt;P&gt;SELECT * might lead to a serious observation size, and all that data has to be moved across the network.&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 18:06:20 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-05-05T18:06:20Z</dc:date>
    <item>
      <title>Endless running of code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Endless-running-of-code/m-p/739292#M230715</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I am running the below code, it's running endless.Please help.&lt;/P&gt;&lt;P&gt;%let date_start = '2021-02-01';&lt;/P&gt;&lt;P&gt;%let date_end = '2021-04-30';&lt;/P&gt;&lt;P&gt;%let country = sg&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;%conximp(p_&amp;amp;country._eap_v,implink,db,dbmax_test = 30)&lt;/P&gt;&lt;P&gt;create table login_newas select * from conection to implink&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;select *&amp;nbsp;&lt;/P&gt;&lt;P&gt;from p_&amp;amp;country._eap_v.eap_event&lt;/P&gt;&lt;P&gt;where mis_date between &amp;amp;date_start and &amp;amp;date_end&lt;/P&gt;&lt;P&gt;)a;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but, when I ru the below code, it runs fine:&lt;/P&gt;&lt;P&gt;%let date_start = '2021-02-01';&lt;/P&gt;&lt;P&gt;%let date_end = '2021-04-30';&lt;/P&gt;&lt;P&gt;%let country = sg&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;%conximp(p_&amp;amp;country._eap_v,implink,db,dbmax_test = 30)&lt;/P&gt;&lt;P&gt;create table login_newas select * from conection to implink&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;select ccsid,mis_date&lt;/P&gt;&lt;P&gt;from p_&amp;amp;country._eap_v.eap_event&lt;/P&gt;&lt;P&gt;where mis_date between &amp;amp;date_start and &amp;amp;date_end&lt;/P&gt;&lt;P&gt;)a;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only if i add select * , it runs endless.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 17:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Endless-running-of-code/m-p/739292#M230715</guid>
      <dc:creator>anandmgjsa</dc:creator>
      <dc:date>2021-05-05T17:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Endless running of code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Endless-running-of-code/m-p/739298#M230719</link>
      <description>&lt;P&gt;How many columns does the table &lt;SPAN&gt;p_sg_eap_v.eap_event&amp;nbsp;&lt;/SPAN&gt;in your DBMS have?&lt;/P&gt;
&lt;P&gt;SELECT * might lead to a serious observation size, and all that data has to be moved across the network.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 18:06:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Endless-running-of-code/m-p/739298#M230719</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-05T18:06:20Z</dc:date>
    </item>
  </channel>
</rss>

