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
Are you involved in writing the inferential analysis plan? Tables specifications?
How to specify variables to be processed by the freq procedure?
What can you learn from the SAS log when debugging?
What is the use of %include statement?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
What are the default statistics for means procedure?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
What is a macro routine?
what are the best practices to process the large data sets in sas programming? : Sas-administrator
what are the types of interactive display types? : Sas-bi
Explain what is data step?
What are the scrubbing procedures in sas?
Tell me more about the parameters in macro? : sas-macro
What will calendar procedure do?
Explain what is SAS informats?