Date: Sun, 9 Dec 2007 10:37:48 -0600
Reply-To: "data _null_," <datanull@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "data _null_," <datanull@GMAIL.COM>
Subject: Re: Detecting the last observation in a data statement
In-Reply-To: <030d35fc-d027-4379-97f9-ee76a3fd0301@e10g2000prf.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Look at END= option for SET/MERGE/UPDATE. Reading from infile it END=
or EOF= and somewhat related EOV=.
On Dec 9, 2007 10:14 AM, dave <d_pullen@hotmail.co.uk> wrote:
> Hi
>
> Does anyone know of an equivalent to _n_ = 1 (which detects the first
> observation) for detecting the last observation?
>
> Cheers, Dave
>
|