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!
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.