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;

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 953 views
  • 1 like
  • 2 in conversation