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