<?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: Managing ODS outputs in IML in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Managing-ODS-outputs-in-IML/m-p/892010#M6058</link>
    <description>&lt;P&gt;Are you sure you need ODS OUTPUT at all? The NLPNRA subroutine returns the parameter estimates.&amp;nbsp; I suspect you can follow the example in the article, &lt;A href="https://blogs.sas.com/content/iml/2019/09/25/solve-many-optimization-problems.html" target="_self"&gt;"Solve many optimization problems."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't answer your question, explain what you are doing, and&amp;nbsp;&lt;SPAN&gt;show your program. Specifically, the loop and the call to NLPNRA.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 17:16:24 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2023-08-31T17:16:24Z</dc:date>
    <item>
      <title>Managing ODS outputs in IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Managing-ODS-outputs-in-IML/m-p/891987#M6057</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know several variants of the following question have been asked before. However, I am still unable to incorporate the advice to my problem. Hence re-posting. I am running NLPNRA in a loop and would like to store the estimates and gradients in each iteration in a SAS dataset. The code that is being looped looks somewhat like this -&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods output ParameterEstimates = mle;
proc iml;
[OBJECTIVE FUNCTION]
quit; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;When I run this code 1000 times in a loop, I see 1,000 HTML files created in my SAS Temporary Files directory. This chokes up my workspace and the subsequent iterations tend to take longer.&amp;nbsp; My question is - how do I recover the file "mle" dataset in the code and delete the html file generated in the temporary files directory?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the following and the HTML files continue to be generated in all the attempts:&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add 'ods exclude all' and 'ods exclude none' before and after proc iml&lt;/LI&gt;&lt;LI&gt;Add 'ods noresults' and 'ods results'&lt;/LI&gt;&lt;LI&gt;Add&amp;nbsp;dm 'odsresults; clear'; after executing proc iml&lt;/LI&gt;&lt;LI&gt;Add 'ods _all_ close' before executing proc iml&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any suggestions would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 16:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Managing-ODS-outputs-in-IML/m-p/891987#M6057</guid>
      <dc:creator>rakeshallu</dc:creator>
      <dc:date>2023-08-31T16:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Managing ODS outputs in IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Managing-ODS-outputs-in-IML/m-p/892010#M6058</link>
      <description>&lt;P&gt;Are you sure you need ODS OUTPUT at all? The NLPNRA subroutine returns the parameter estimates.&amp;nbsp; I suspect you can follow the example in the article, &lt;A href="https://blogs.sas.com/content/iml/2019/09/25/solve-many-optimization-problems.html" target="_self"&gt;"Solve many optimization problems."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't answer your question, explain what you are doing, and&amp;nbsp;&lt;SPAN&gt;show your program. Specifically, the loop and the call to NLPNRA.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 17:16:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Managing-ODS-outputs-in-IML/m-p/892010#M6058</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-08-31T17:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Managing ODS outputs in IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Managing-ODS-outputs-in-IML/m-p/892185#M6059</link>
      <description>&lt;P&gt;This is exactly what I needed. Thank you, Rick!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 21:05:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Managing-ODS-outputs-in-IML/m-p/892185#M6059</guid>
      <dc:creator>rakeshallu</dc:creator>
      <dc:date>2023-08-31T21:05:46Z</dc:date>
    </item>
  </channel>
</rss>

