<?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: SAS not working fully in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896762#M354349</link>
    <description>&lt;P&gt;Yes I think I mean that. Because everytime I change anything, I can see google drive is synchronizing the change. By network usage do you mean internet? It is good. I don't think before I finish running this block of code, thus generating the new dataset, drive will synchronize. I used to suspect some of the time is used to download the file from google drive, but I tried all my files, even they are very large, when I click them they open immediately, so I rule out this factor.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2023 18:22:23 GMT</pubDate>
    <dc:creator>Eileen1496</dc:creator>
    <dc:date>2023-10-02T18:22:23Z</dc:date>
    <item>
      <title>SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896712#M354333</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to SAS, while I was able to realize the results I want, I found my SAS is running "inefficiently".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for example, I'm trying to get rid of parenthesis and any text inside the parenthesis of a variable (&lt;STRONG&gt;com_up&lt;/STRONG&gt;). The new variable is called &lt;STRONG&gt;com_par&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The number of observations are around 19700000, which is a lot I think so should take some time. But today I wait for more than half and hour and the code is still running. I checked my task manager, it says SAS is using only 0.1% CPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file is on my google drive but I synchronize it to my local computer. I have 128 gb ram. The code I use is as follows:&lt;/P&gt;&lt;PRE&gt;data new_db;

set old_db;

com_par = prxchange('s/\(([^\)]+)\)//i',-1,com_up);

run;&lt;/PRE&gt;&lt;P&gt;I was wondering does this means SAS is not actually working? And is there any solutions on this?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 18:17:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896712#M354333</guid>
      <dc:creator>Eileen1496</dc:creator>
      <dc:date>2023-10-02T18:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896722#M354336</link>
      <description>&lt;P&gt;You may have submitted only a part of the code (e.g. without the RUN statement).&lt;/P&gt;
&lt;P&gt;What do you see in the log?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 17:00:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896722#M354336</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-10-02T17:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896724#M354338</link>
      <description>&lt;P&gt;Please examine your code carefully. There is a semi-colon missing.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 17:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896724#M354338</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-10-02T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896737#M354339</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/446510"&gt;@Eileen1496&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm new to SAS, while I was able to realize the results I want, I found my SAS is running "inefficiently".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for example, I'm trying to get rid of parenthesis and any text inside the parenthesis of a variable (&lt;STRONG&gt;com_up&lt;/STRONG&gt;). The new variable is called &lt;STRONG&gt;com_par&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;The number of observations are around 19700000, which is a lot I think so should take some time. But today I wait for more than half and hour and the code is still running. I checked my task manager, it says SAS is using only 0.1% CPU.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;The file is on my google drive but I synchronize it to my local computer. I have 128 gb ram&lt;/STRONG&gt;&lt;/FONT&gt;. The code I use is as follows:&lt;/P&gt;
&lt;PRE&gt;data new_db;

set old_db;

com_par = prxchange('s/\(([^\)]+)\)//i',-1,com_up)

run;&lt;/PRE&gt;
&lt;P&gt;I was wondering does this means SAS is not actually working? And is there any solutions on this?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I wonder if your "synchronize" means that every time you modify a record on your "synchronized" data set that something is trying to send that change back to the Google Drive. And that link may not be very efficient.&lt;/P&gt;
&lt;P&gt;What do your system diagnostics say about network usage? and anything related to Google?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 17:40:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896737#M354339</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-10-02T17:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896759#M354347</link>
      <description>&lt;P&gt;I saw the copy of the code in black. I also saw this before and when it finished running there will be blue lines showing me the running time and number of observations. So I think I submit the whole code, but it is really weird in the task manager, only 0.1% CPU used before the result comes out.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 18:19:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896759#M354347</guid>
      <dc:creator>Eileen1496</dc:creator>
      <dc:date>2023-10-02T18:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896760#M354348</link>
      <description>&lt;P&gt;Hi, yes you are right, it is a typo when I post the question. The code has semicolon.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 18:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896760#M354348</guid>
      <dc:creator>Eileen1496</dc:creator>
      <dc:date>2023-10-02T18:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896762#M354349</link>
      <description>&lt;P&gt;Yes I think I mean that. Because everytime I change anything, I can see google drive is synchronizing the change. By network usage do you mean internet? It is good. I don't think before I finish running this block of code, thus generating the new dataset, drive will synchronize. I used to suspect some of the time is used to download the file from google drive, but I tried all my files, even they are very large, when I click them they open immediately, so I rule out this factor.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 18:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896762#M354349</guid>
      <dc:creator>Eileen1496</dc:creator>
      <dc:date>2023-10-02T18:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896769#M354352</link>
      <description>&lt;P&gt;Running SAS programs accessing remotely-stored data is nearly always slower than local data. I suggest you copy your data to a local drive and do a test run on that source, then compare SAS log run times.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 19:00:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/896769#M354352</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-10-02T19:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not working fully</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/901563#M356284</link>
      <description>&lt;P&gt;I put them completely in a local drive, and it is way faster!&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2023 16:54:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-working-fully/m-p/901563#M356284</guid>
      <dc:creator>Eileen1496</dc:creator>
      <dc:date>2023-11-04T16:54:35Z</dc:date>
    </item>
  </channel>
</rss>

