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
how does sas handle missing values in procs? : Sas programming
What is the good sas programming practices for processing large data sets?
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
What is the difference between match merge and one to one merge?
what are sas bi dashboard components? : Sas-bi
Can you explain the process of calendar?
How would you identify a macro variable? : sas-macro
what versions of sas have you used (on which platforms)? : Sas programming
what is function of retain statment
what is the function of catx syntax? : Sas-administrator
What is maximum storage capability of SAS?
how does sas handle missing values in a merge? : Sas programming
How does proc sql work?
Describe the ways in which you can create macro variables?
Explain data step in SAS