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 / ravira
data set name ;
set old data set name ( keep = a b c d e);
run;
By using above concept u can read what r the variables u
want to read ,first create data set having many variables ,
then try to read from some variables
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What do the PUT and INPUT functions do?
what is hierarchy flattening? : Sas-di
what is sas and what are the functions? : Sas-administrator
Have you ever used the SAS Debugger?
What is run-group processing?
what is operational data and operational system? : Sas-di
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what type of graphs we will create(for 2+years candidates)?
name the scheduler for scheduling job and explain the scheduler? : Sas-di
what are sas bi dashboard components? : Sas-bi
What is program data vector (pdv) and what are its functions?
What is substr function?
Define run-group processing?
Which command is used to perform sorting in sas program?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;