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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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