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!
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.