<?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: Way to prevent SAS Stored Process from killing the contents of WORK library? in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124169#M3919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may consider asking the users to Copy the stored process code and execute it in a&amp;nbsp; SAS Program in the Enterprise Guide instead of executing the Stored Process to review the Temporary tables. Any Prompts defined in the Stored process can be handled by the %let statement in the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2012 19:08:32 GMT</pubDate>
    <dc:creator>RSB</dc:creator>
    <dc:date>2012-11-13T19:08:32Z</dc:date>
    <item>
      <title>Way to prevent SAS Stored Process from killing the contents of WORK library?</title>
      <link>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124164#M3914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a stored process that creates a number of datasets in the WORK library.&amp;nbsp; I would like the user to be able to navigate through WORK to see the results of each step of the program.&amp;nbsp; Once they close the SAS session, the WORK directory will be cleared as it normally does.&amp;nbsp; My problem is that the SAS Stored Process appears to be killing the contents of WORK before the user even has a chance to look at it.&amp;nbsp; Is there a way to prevent SAS from killing the WORK library contents?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 16:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124164#M3914</guid>
      <dc:creator>Viffer</dc:creator>
      <dc:date>2012-11-12T16:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Way to prevent SAS Stored Process from killing the contents of WORK library?</title>
      <link>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124165#M3915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. why not divert the results to a permanent library .. Any restrictions ?&lt;/P&gt;&lt;P&gt;Also have a look at creating sessions in stored process... they will be useful for your requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:38:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124165#M3915</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2012-11-12T17:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Way to prevent SAS Stored Process from killing the contents of WORK library?</title>
      <link>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124166#M3916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to write to a permanent library because the intermediate datasets are very large (i.e. combined they amount to about 500GB).&amp;nbsp; While I want the user to be able to view the intermediate files, I don't want these files to remain on the server taking up space after they close the session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look in Stored Process Sessions as you suggested -- perhaps I'm just going about this the wrong way entirely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124166#M3916</guid>
      <dc:creator>Viffer</dc:creator>
      <dc:date>2012-11-12T17:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Way to prevent SAS Stored Process from killing the contents of WORK library?</title>
      <link>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124167#M3917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I think you can also consider transient package for results.. but i do doubt the impact that the size of your overall results will have on your application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 18:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124167#M3917</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2012-11-12T18:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Way to prevent SAS Stored Process from killing the contents of WORK library?</title>
      <link>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124168#M3918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are a few ideas.&amp;nbsp; None of them is exactly what you asked for, but some of them may form part of a workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes, file systems contain disk pools that get erased overnight.&amp;nbsp; If you have such a system, you could use that for the WORK libraries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To save WORK data sets permanently, you don't need to change much.&amp;nbsp; The USER= global option directs the storage location for one-level SAS data set names, and can be set to any defined libname.&amp;nbsp; (The default is USER=WORK.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you could modify the EG steps to output 1,000 observations from each WORK data set to a permanent data set with a matching name.&lt;/P&gt;&lt;P&gt;Perhaps you could add a PROC DATASETS to the workflow, either at the beginning or at the end, to wipe out a permanent library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 18:19:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124168#M3918</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-11-12T18:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Way to prevent SAS Stored Process from killing the contents of WORK library?</title>
      <link>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124169#M3919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may consider asking the users to Copy the stored process code and execute it in a&amp;nbsp; SAS Program in the Enterprise Guide instead of executing the Stored Process to review the Temporary tables. Any Prompts defined in the Stored process can be handled by the %let statement in the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 19:08:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124169#M3919</guid>
      <dc:creator>RSB</dc:creator>
      <dc:date>2012-11-13T19:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Way to prevent SAS Stored Process from killing the contents of WORK library?</title>
      <link>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124170#M3920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for all of the great suggestions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think my best option is to write the datasets to a permanent scratch drive that would be cleared at the end of every day.&amp;nbsp; I will have to contact IT to set up such a drive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 14:58:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Way-to-prevent-SAS-Stored-Process-from-killing-the-contents-of/m-p/124170#M3920</guid>
      <dc:creator>Viffer</dc:creator>
      <dc:date>2012-11-22T14:58:33Z</dc:date>
    </item>
  </channel>
</rss>

