<?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: Recover between proc segments in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677791#M204511</link>
    <description>&lt;P&gt;Yeah, that's one thing to have an eye on. Housekeeping in WORK can become essential when working with large datasets.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2020 13:50:06 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-08-19T13:50:06Z</dc:date>
    <item>
      <title>Recover between proc segments</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677697#M204447</link>
      <description>&lt;P&gt;Curious if it's good practice to give some command for SAS to recover (reset, stabilize, recoup) following an involved proc statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In other words, suppose some proc statement execution takes 10 minutes to complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before issuing another proc statement (via batch set of commands) is there a way to tell SAS to take a break -- relax, regain all your memory parts, clean up your temp files, recover -- prior to moving on to the next proc statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, what is that "take-a-break" command?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nicholas Kormanik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 04:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677697#M204447</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2020-08-19T04:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Recover between proc segments</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677711#M204458</link>
      <description>&lt;P&gt;When a step finishes, all the resources it used internally are cleaned up. Libnames or file references that you defined before the step will still be active, and some things created by a step (e.g. macro variables through CALL SYMPUT, or file references through the FILENAME function) also.&lt;/P&gt;
&lt;P&gt;I have no in-depth knowledge if SAS keeps file data in buffers after use (e.g. a dataset created by the step) for the purpose of fast access if the dataset is used again immediately; if it does, this might explain a larger RAM footprint after execution of a step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bottom line: there is no need for such housekeeping, if you suspect a "memory leak", bring it to the attention of SAS technical support.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 07:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677711#M204458</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-19T07:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Recover between proc segments</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677737#M204481</link>
      <description>Good to know, Kurt.  Thanks so much for your thorough, well-informed reply.  As well as being so fast to respond.</description>
      <pubDate>Wed, 19 Aug 2020 08:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677737#M204481</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2020-08-19T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Recover between proc segments</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677788#M204509</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;is right about that.&amp;nbsp; However, there is one additional resource you may want to consider:&amp;nbsp; cleaning up the WORK space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your long-running program creates temporary data sets in the WORK library, it would be possible to run out of WORK space.&amp;nbsp; You can remove temporary data sets that are no longer needed by using PROC DATASETS or PROC DELETE.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 13:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677788#M204509</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2020-08-19T13:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recover between proc segments</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677791#M204511</link>
      <description>&lt;P&gt;Yeah, that's one thing to have an eye on. Housekeeping in WORK can become essential when working with large datasets.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 13:50:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677791#M204511</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-19T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Recover between proc segments</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677815#M204516</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/22691"&gt;@NKormanik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Good to know, Kurt. Thanks so much for your thorough, well-informed reply. As well as being so fast to respond.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Some minor things to consider cleaning up/resetting:&lt;/P&gt;
&lt;P&gt;Title/Footnote statements since these persist.&lt;/P&gt;
&lt;P&gt;System or graphic options that may be needed temporarily such as page orientation, missing character option, graph area size settings.&lt;/P&gt;
&lt;P&gt;Not so much for resources as to ensure that output created is as expected.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 14:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recover-between-proc-segments/m-p/677815#M204516</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-19T14:48:05Z</dc:date>
    </item>
  </channel>
</rss>

