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
How to read an input file in sas?
What are the difference between ceil and floor functions in sas?
What is the basic structure of the SAS base program?
What is the general format of function in sas? : sas-grid-administration
Which command is used to perform sorting in sas program?
What is a pdv and what are its functions?
What is the maximum length of the macro variable? : sas-macro
Describe 5 ways to do a “table lookup” in SAS?
Explain what Proc glm does?
How you can read the variables that you need?
Explain why double trailing @@ is used in input statement?
how sas deals with business intelligence? : Sas-bi
what are sas bi dashboard components? : Sas-bi
For what purposes have you used sas macros? : sas-macro
What is the difference between class statement and by statement in proc means?