Date: Wed, 5 Nov 1997 16:55:42 CST
Reply-To: Undetermined origin c/o LISTSERV administrator
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Undetermined origin c/o LISTSERV administrator
Subject: Re: macro variable
Philip Primak <pprimak@GENZYME.COM> wrote:
>Use the following code (if you have SAS 6.12+ or 6.09E+):
>Then macro variable numobs will be equal to number of observations in
>your data set.
I haven't tested this, but you might want to use the NLOBS (logical
observations) attribute instead of the NOBS attribute, in case there
are deleted observations in the dataset.
Also, while you're using the data set functions anyway, you might
as well check the value of the ANOBS attribute to see whether the
engine knows the correct number of observations.
Have these functions been documented anywhere other than the
draft Macro Facility Enhancements paper?