If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?
Answer Posted / shaik parwez
Using Keep option
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between format and informat? : sas-grid-administration
What is factor analysis?
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
For what purpose would you use the RETAIN statement?
What are the features of SAS?
What is by-group processing?
what do the pad and dim functions do? : Sas programming
What are the different servers in sas? : sas-grid-administration
name the scheduler for scheduling job and explain the scheduler? : Sas-di
what is data governance? : Sas-di
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
What are the default statistics for means procedure?
Difference between sum function and using “+” operator?
What is the use of %include statement?