|
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,
>
|