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 -
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. 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?
I tried the following and the HTML files continue to be generated in all the attempts:
Add 'ods exclude all' and 'ods exclude none' before and after proc iml
Add 'ods noresults' and 'ods results'
Add dm 'odsresults; clear'; after executing proc iml
Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.
Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer.