|
|
selecting variables with a particular variable length?????
Hi all,
i need to select variables which have a particular variable length
only. what is the way to do??
i know that i can do it like: for ex;
proc contents data=sashelp.class noprint out=contents;
run;
data contents1;
set contents;
where length<2;
run;
can i do it any other way??
thanks,
Dolly.
|
|
0
|
|
|
|
Reply
|
dolly
|
11/15/2010 9:15:30 PM |
|
On Nov 15, 4:15=A0pm, dolly <dollyko...@gmail.com> wrote:
> =A0 =A0i need to select variables which have a particular variable length
> only. what is the way to do??
>
> i know that i can do it like: =A0 for ex;
>
> proc contents data=3Dsashelp.class noprint out=3Dcontents;
> run;
>
> data contents1;
> set contents;
> where length<2;
> run;
>
> can i do it any other way??
You could use PROC SQL to query the dictionary tables ... but what's
the point, you have a very simple method that works ...
--
Paige Miller
paige\dot\miller \at\ kodak\dot\com
|
|
0
|
|
|
|
Reply
|
Paige
|
11/15/2010 9:18:30 PM
|
|
yes,
but another simple way i came to know is using datasets with
contents.
Thanks,
Dolly
|
|
0
|
|
|
|
Reply
|
dolly
|
11/17/2010 11:07:59 PM
|
|
|
2 Replies
246 Views
(page loaded in 0.109 seconds)
|
|
|
|
|
|
|
|
|