<?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: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982428#M379326</link>
    <description>&lt;P&gt;Thanks erveryone. I do ran it at BATCH mode now, though still alot to catch up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any SAS PDF/DOC on btach mode, specially for any possible pitfalls?!&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 13:10:39 GMT</pubDate>
    <dc:creator>hellohere</dc:creator>
    <dc:date>2026-01-26T13:10:39Z</dc:date>
    <item>
      <title>How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982405#M379310</link>
      <description>&lt;P&gt;Running loops which take hours to finish. The&amp;nbsp; window/panel is freezed, which is not big deal.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But like to check out some datasets in between to fathom any possible scenario.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to do? Just sleep(3*60*1000) alike is fine?!&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2026 01:36:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982405#M379310</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-25T01:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982406#M379311</link>
      <description>If you are trapped in a GUI, you need to either submit the job in batch mode (ideally) or possibly open up another instance of whatever you’re using and do your other work there. If you’re submitting the job through a terminal, you just need to run it in the background - the reason your screen is frozen is because it’s running in the foreground.</description>
      <pubDate>Sun, 25 Jan 2026 03:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982406#M379311</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2026-01-25T03:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982407#M379312</link>
      <description>&lt;P&gt;How to submit the job in batch mode/Windows PC?&lt;/P&gt;
&lt;P&gt;Say my code is LoopIt.sas&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2026 07:20:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982407#M379312</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-25T07:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982409#M379313</link>
      <description>"D:\SASHome\SASFoundation\9.4\sas.exe" -sysin "c:\temp\temp.sas" -log "c:\temp\temp.log"</description>
      <pubDate>Sun, 25 Jan 2026 08:32:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982409#M379313</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-01-25T08:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982411#M379315</link>
      <description>&lt;P&gt;under DOS prompt?!&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2026 15:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982411#M379315</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-25T15:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982412#M379316</link>
      <description>&lt;P&gt;If you're on Windows, yes.&amp;nbsp; Obviously, adjust the paths as needed for both the sas.exe file and your program.&amp;nbsp; Are you using SAS EG?&amp;nbsp; Studio?&amp;nbsp; Something else?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, are you simply trying to do other work in SAS while your program is running, or are you actually trying to look at the files being generated by this loop while the program is running?&amp;nbsp; If you're trying to look at the files being generated by the loop while the program is running, and those files are temporary (i.e., in WORK), you will have to figure out where WORK is located on your file system and then proceed with caution in actually opening those files.&amp;nbsp; Don't try to open anything that has an extension like ".lck"&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2026 16:01:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982412#M379316</guid>
      <dc:creator>quickbluefish</dc:creator>
      <dc:date>2026-01-25T16:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982413#M379317</link>
      <description>&lt;P&gt;Something you might consider would be sharing an example of your code and/or describe what you program is doing in some detail. Often people less familiar with SAS will try to force an approach to some tasks that better done using other procedures in SAS.&lt;/P&gt;
&lt;P&gt;Also "loops" and "files" in the same phrase could mean that you are doing a lot of disk IO that may not exactly be needed with a different approach.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2026 17:24:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982413#M379317</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-01-25T17:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982415#M379318</link>
      <description>&lt;P&gt;Please post the code "taking hours to finish". Recent versions of SAS Enterprise Guide don't freeze while executing code, which client do you use?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 07:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982415#M379318</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2026-01-26T07:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982416#M379319</link>
      <description>&lt;P&gt;The original codes takes lots of datasets at WORK directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I bet need additional codes to re-generate those datasets, if to run at batch mode, right?!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 07:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982416#M379319</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-26T07:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982417#M379320</link>
      <description>&lt;P&gt;too many sas code files. Sometime even myself losts track of what each part does. THanks,&amp;nbsp; though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 07:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982417#M379320</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-26T07:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982418#M379321</link>
      <description>&lt;P&gt;I am using PC SAS. The code files invoke lots of PROC SGPLOT, thousands if exactly.&lt;/P&gt;
&lt;P&gt;THe panel keeps freezed even hours after the code files all finish sucessfully [the output pic files have info on filenames to tell].&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 07:30:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982418#M379321</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-26T07:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982420#M379322</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/409584"&gt;@hellohere&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am using PC SAS.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Display Manager or Enterprise Guide as interface?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 09:08:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982420#M379322</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2026-01-26T09:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982423#M379323</link>
      <description>&lt;LI-SPOILER&gt;just regular SAS foundation？！&lt;/LI-SPOILER&gt;</description>
      <pubDate>Mon, 26 Jan 2026 11:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982423#M379323</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-26T11:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982428#M379326</link>
      <description>&lt;P&gt;Thanks erveryone. I do ran it at BATCH mode now, though still alot to catch up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any SAS PDF/DOC on btach mode, specially for any possible pitfalls?!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 13:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982428#M379326</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-26T13:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982449#M379329</link>
      <description>&lt;P&gt;You will find answers to most of your questions in the SAS docs:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p16esisc4nrd5sn1ps5l6u8f79k6.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p16esisc4nrd5sn1ps5l6u8f79k6.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 20:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982449#M379329</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2026-01-26T20:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982468#M379341</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My PC is set to sleep after 3hr. The BATCH mode does not finish [need roughly 5 hours].&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the screen was re-active, the BATCH mode came back, BUT complained fatcl I/O error[nothing is done/changed] and crushed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure why.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 02:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982468#M379341</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2026-01-27T02:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Sleep/Rest during loops AND FREE all the resouce[not freeze the panel]?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982470#M379343</link>
      <description>&lt;P&gt;You must turn your "energy saving" settings off when you need to run long batch jobs in the background, because the system might turn off resources (like disks) when no user interaction from mouse or keyboard is detected.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 06:24:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Sleep-Rest-during-loops-AND-FREE-all-the-resouce-not/m-p/982470#M379343</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2026-01-27T06:24:41Z</dc:date>
    </item>
  </channel>
</rss>

