Data visualization with SAS programming

Suppress html results in EG project

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 19
Accepted Solution

Suppress html results in EG project

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.  


Accepted Solutions
Solution
Tuesday
Super User
Posts: 22,820

Re: Suppress html results in EG project


@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?

View solution in original post


All Replies
Solution
Tuesday
Super User
Posts: 22,820

Re: Suppress html results in EG project


@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?

Occasional Contributor
Posts: 19

Re: Suppress html results in EG project

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!

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 108 views
  • 0 likes
  • 2 in conversation