LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (June 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 6 Jun 2006 17:04:22 +0200
Reply-To:   Stéphane Colas <saslist@DATAMETRIC.FR>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Stéphane Colas <saslist@DATAMETRIC.FR>
Subject:   Re: break when the dataset is empty
Comments:   To: skyline <carf4F@GMAIL.COM>
In-Reply-To:   <1149604022.040873.321920@j55g2000cwa.googlegroups.com>
Content-Type:   text/plain; charset=ISO-8859-1

It's an old disccusion on the SAS-L.

See the archive with these links : http://www.listserv.uga.edu/cgi-bin/wa?S2=sas-l&q=nobs+macro&s=&f=&a=&b= http://www.listserv.uga.edu/cgi-bin/wa?A2=ind9703B&L=sas-l&P=R286 http://www.listserv.uga.edu/cgi-bin/wa?S2=sas-l&q=nobs&s=&f=&a=&b=

for example.

HTH

-- Stéphane.

www.datametric.fr

Selon skyline <carf4F@GMAIL.COM>:

> Hello, > > I would like to step an execution when the data at an iteration is > empty. For example. > > %do i=1 %to 10; > > data testdata; > if index=&i; > run; > > (if testdata=empty then break) > > proc reg data=testdata .... > > %mend; > > I would like to know how can I express this break part in SAS. I > appreciate your comments. > > Best regards, >


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