|
You can use also If _N_ = 1 for the first record and
Infile xxxx END=ENDX ;
If Endx Then Output ; for the last record
Bye
Jing Liu a écrit :
> How can I just extract the first and the last recors from one dataset? E.g:
>
> SSD1
> A B
> 01 a
> 02 b
> 03 c
> 04 d
>
> What i want to do is to get an dataset with following two records:
>
> SSD2
> A B
> 01 a
> 04 d
>
> Any expert's suggestion is appreciated in advance!
>
> Jing
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|