Date: Thu, 11 Jun 2009 00:05:59 -0700
Reply-To: ash007 <RamsamyAshley@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: ash007 <RamsamyAshley@GMAIL.COM>
Organization: http://groups.google.com
Subject: Ods Html Files
Content-Type: text/plain; charset=ISO-8859-1
hello sas users,
I need to create a HTML report with ODS HTML.
But now SAS create a Html file each time there is a proc sql. Before
SAS created only a filr HTML. Nut now several...
this is my code :
ODS HTML FILE = "C:\temp\controle_mntCotisation.html" style = sasweb;
title 'MNT COTISATION - M_import';
proc sql;
select sum(MNT_COTISATION) AS COT_MNT_COTISATION,
.....
;
QUIT;
title 'MNT COTISATION - M_transc';
proc sql;
select sum(COT_MNT_COTISATION) AS COT_MNT_COTISATION,
......
;
QUIT;
title 'MNT COTISATION - M_transc - COT_TYPE_PRIME';
proc sql;
select sum(COT_MNT_COTISATION) AS COT_MNT_COTISATION,
.....
;
QUIT;
title 'MNT COTISATION - M_cotis';
proc sql;
select sum(COT_MNT_COTISATION) AS COT_MNT_COTISATION,
.....
;
QUIT;
ods html close;
It is creating : controle_mntCotisation.html -
controle_mntCotisation1.html - controle_mntCotisation2.html and
controle_mntCotisation3.html.
thanks for your help.
ash007.