LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2001, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 2 Aug 2001 16:31:51 -0400
Reply-To:   "Shilling, Brian [PRI]" <BShillin@PRIUS.JNJ.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Shilling, Brian [PRI]" <BShillin@PRIUS.JNJ.COM>
Subject:   Re: output Question
Comments:   To: Darran Zenger <DZENGER@KLUNE.COM>
Content-Type:   multipart/alternative;

Darran,

This method is not specific to html, but this is how I look to see.

data _null_; if 0 then set <dataset name> nobs=nobs;

call symput("zero",put(nobs,3.)); run;

%if &zero = 0 %then %do;

data _null_; file print;

put //// 'No observations exist in the dataset'; run;

%end;

%else %do;

proc report.................

%end;

HTH

Brian

> -----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? > > Darran


[text/html]


Back to: Top of message | Previous page | Main SAS-L page