I need to prevent a program from generating the html results that are created with proc gkpi. I am saving the gkpi image to an external directory and then pulling it into an ODS template with other text and graphics. I do not need the html output, but I haven't been able to figure out how to produce the images without it. I have turned off all results in Project Properties; but, the program continues to produce the results tab and html results and the project size grows very large. The program includes a do loop that iterates thousands of times and it appears to be generating an html result for each iteration.
@jltz83 wrote:
I need to prevent a program from generating the html results that are created with proc gkpi. I am saving the gkpi image to an external directory and then pulling it into an ODS template with other text and graphics. I do not need the html output, but I haven't been able to figure out how to produce the images without it. I have turned off all results in Project Properties; but, the program continues to produce the results tab and html results and the project size grows very large. The program includes a do loop that iterates thousands of times and it appears to be generating an html result for each iteration.
Are you using code or the GUI?
If code, please provide your code. Did you try ODS NORESULTS or ODS HTML CLOSE?
@jltz83 wrote:
I need to prevent a program from generating the html results that are created with proc gkpi. I am saving the gkpi image to an external directory and then pulling it into an ODS template with other text and graphics. I do not need the html output, but I haven't been able to figure out how to produce the images without it. I have turned off all results in Project Properties; but, the program continues to produce the results tab and html results and the project size grows very large. The program includes a do loop that iterates thousands of times and it appears to be generating an html result for each iteration.
Are you using code or the GUI?
If code, please provide your code. Did you try ODS NORESULTS or ODS HTML CLOSE?
Reeza,
Thank you for your suggestions. I am using code, and I had tried ODS NORESULTS to no avail. After reading through to the last post here: https://communities.sas.com/t5/SAS-Enterprise-Guide/Supressing-results-in-EG/m-p/342038#M22636 and receiving your reply, it occurred to me that I may need to place the ODS NORESULTS statement within the macro loop instead of at the top of the program. This seems to have solved my problem. Thank you!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.