BookmarkSubscribeRSS Feed
Raj00007
Calcite | Level 5

 "Exclude all variables that begin with "ex" from results.nomatch08.".

 

i have a question like this. How do i execute it ?

4 REPLIES 4
ketpt42
Quartz | Level 8
Need more context for what you're trying to do with the dataset. Are you printing it? Creating another dataset?
Raj00007
Calcite | Level 5
i need to create a dataset
ketpt42
Quartz | Level 8

OK, then you would do like @Patrick indicated.

 

data results.nomatch09;
    set results.nomatch08;
    drop ex: ;
run;

/* or */

data results.nomatch09;
    set results.nomatch08 (drop=ex: );
run;
Patrick
Opal | Level 21

drop ex: ;