You indicated that you wanted to 'display' a file, but then provided an
example where you were trying to sort the file.
If you are trying to create a new file as the result of sorting an
existing file, but only if the file contains a certain number of records,
I would use proc sql.
Try something like the following:
if _n_ lt 17 then output;
proc sql noprint;
create table stepb as
select * from stepa
having count(*) eq 16;
On Fri, 15 Feb 2008 02:01:41 -0800, nfleury.iris@GMAIL.COM wrote:
>Hello, I want display the folder "toto_good" only if the number of
>observation ("nobs") is equal to 48
>thanks you .
>proc sort data=toto_good out=goodf.toto_good ;
> by lab_code param_name param_unit well;
> where (nobs)=48;