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: ;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1675 views
  • 1 like
  • 3 in conversation