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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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