From: mahender on
On Jul 11, 10:26 am, Patrick <patrick.mat...(a)gmx.ch> wrote:
> ...or under the assumption that an ID is never missing:
>
> data want;
>   set new;
>   by id;
>   if lag2(id) ne id then output;
> run;

thank u got the answer..