> 2. Create a two different files; file 1 containing
> only numeric variables and file 2 containing only
> character variables.
> I know we can use the function vtype() to find out if
> a variable is char or numeric ..
> But, if you have thousand variables then how would
> you do it without having to know the name of that
Again using a "SAS Variable List".
580 data num(keep=_numeric_) chr(keep=_char_);
581 set sashelp.class;
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.NUM has 19 observations and 3 variables.
NOTE: The data set WORK.CHR has 19 observations and 2 variables.