i have a null dataset with 20 variables. i want to upload the
variables which contain name like a or k or anything in
another dataset.how can we create the dataset?
Answer Posted / alok karan
data _null_ new;
set qqq;
where name like "q%" or name like "w%";
put name total;
run;
proc print data=new;
run;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
where to use sas business intelligence? : Sas-bi
which date function advances a date, time or datetime value by a given interval? : Sas programming
why a stop statement is needed for the point= option on a set statement?
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
Give some examples where proc report’s defaults are different than proc print’s defaults?
What sas features do you use to check errors and data validation?
what is the purpose of _error_? : Sas programming
What are the features of base sas system?
Which statement does not perform automatic conversions in comparisons?
How would you identify a macro variable? : sas-macro
what are the categories that sas informats are used to the place the data? : Sas-administrator
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
how many types of prompts are there? : Sas-bi
what is the difference between infile and input? : Sas-administrator
What are the prime responsibilities of data integration administrator? : Sas-di