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 (September 2011, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 8 Sep 2011 14:56:05 -0400
Reply-To:     Tom Smith <need_sas_help@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Tom Smith <need_sas_help@YAHOO.COM>
Subject:      Re: A Proc Report question
Comments: To: Mary Rosenbloom <mary.rosenbloom.sas@GMAIL.COM>
Content-Type: text/plain; charset=ISO-8859-1

Can you please help me with an example? never did it before. Thank a lot.

On Thu, 8 Sep 2011 10:52:22 -0700, Mary Rosenbloom <mary.rosenbloom.sas@GMAIL.COM> wrote:

>Tom, > >How about turning this into a macro? First, create a second dataset with >one observation and one variable containing a character string which has the >value "No Record is available". Then, use system tools to programatically >determine if your main dataset is empty. If it is empty, then run a proc >report with your one-variable dataset, if not, run the proc report with the >original dataset. You would probably need two PROC REPORT specifications. > >Cheers, >Mary R. > >On Thu, Sep 8, 2011 at 10:25 AM, Tom Smith <need_sas_help@yahoo.com> wrote: > >> I am using Proc Report to get the output but the output has no data, so >> how I can create a message in the output �No Record is available�. >> Thanks a lot >>


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