BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jltz83
Obsidian | Level 7

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.  

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

@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

2 REPLIES 2
Reeza
Super User

@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
Obsidian | Level 7

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!

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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