How do you read in the variables that you need?
Answer Posted / neeraja
using keep(for selected variables).keep is a dataset
option.the statment keep is used to specify the number of
variables to be remained within a sas dataset or output.
syntax:keep <var list>
data emp;
keep name no;
input name$ no sal job$;
cards;
......
....
| Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
how many types prompting framework can be broken down to? : Sas-bi
What does the trace option do?
What areas of SAS are you most interested in?
explain the proc in sas? : Sas-administrator
What is slibref?
What function CATX syntax does?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
What do you code to create a macro? : sas-macro
What are the different operating system platforms in which we can use sas? : sas-grid-administration
For what purpose would you use the RETAIN statement?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
Difference between sum function and using “+” operator?
Why and when do you use proc sql?
What are symget and symput? : sas-macro