| Date: | Tue, 10 Nov 1998 21:50:16 GMT |
| Reply-To: | Richard James <rjames@PDCI.ON.CA> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Richard James <rjames@PDCI.ON.CA> |
| Organization: | Comnet Communications - http://www.comnet.ca |
| Subject: | Re: sysfunc |
|---|
Can you send me that reference too.....I have also been looking.
TIA,
REJ.
VANBERKEL Michel <Michel.Vanberkel@SWIFT.COM> wrote in article
<36357DDC.9327F12D@swift.com>...
> I've been using teh %sysfunc for a while now and really get nice
> performance results.
>
> For example:
>
> %macro count (dtaset, nb);
>
> %local dtasetid;
> %local dummy;
>
> %let dtasetid = %sysfunc (open (&dtaset));
> %put &dtasetid;
> %let nb = %sysfunc (attrn (&dtasetid, nobs));
> %let dummy = %sysfunc (close (&dtasetid));
>
> %mend count;
>
> is a quite fast way to count the number of variables in a dataset.
>
> But I can hardly find documentation on this. Anyone can give me some
> tips?
>
|