BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I export my datasets to the html by using the following code.I solved that but a different problem arised.
My html file size very big. And when it is executing outwindow is fulled.(I must use proc report)
And executing operation stops,until I click the message to the output window.Clear file etc.....

I want to delete this file aoutomatically,(Noclick)

Can Anyone help me?

Here is my code:

ods html body='Muallak_Daily_Table_Hukuk.html' ;
proc report data = Muallak_Daily_Table_Hukuk nowd ;
define oncelik / noprint ;
compute oncelik;
if oncelik eq 'KIRMIZI' then
call define(_row_,"style","style={background=red}");
else if oncelik eq 'YESIL' then
call define(_row_,"style","style={background=green}");
else if oncelik eq 'SARI' then
call define(_row_,"style","style={background=yellow}");
else if oncelik eq 'TURUNCU' then
call define(_row_,"style","style={background=orange}");
endcomp;
run;
ods html close;
1 REPLY 1
Chevell_sas
SAS Employee
The easiest thing would be to close the listing window if you are only interested in the HTML file.

ods listing close;

ods html file=.....

.....

ods html close;
ods listing;

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1184 views
  • 1 like
  • 2 in conversation