This method is not specific to html, but this is how I look to see.
if 0 then set <dataset name> nobs=nobs;
%if &zero = 0 %then %do;
put //// 'No observations exist in the dataset';
> -----Original Message-----
> From: Darran Zenger [SMTP:DZENGER@KLUNE.COM]
> Sent: Thursday, August 02, 2001 4:19 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: output Question
> Is there a way to identify if there are 0 observations, then create a
> defaulted page (in html) that states that there is currently no data for
> this, else if, there IS data, go ahead and create a report/chart with this
> data? I'm assuming there is a way to identify if there is any observations
> and if so, how do I do identify that?