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
What is the use of %include statement?
what is program data vector? : Sas-administrator
What is the differnce between SDTM 3.1.2 to 3.1.1 version
What is SAS? What are the functions does it performs?
how to read the variables in sas? : Sas-administrator
explain the main difference between the nodup and nodupkey options? : Sas-administrator
what versions of sas have you used (on which platforms)? : Sas programming
what is the Population you used in your project, is it ITT or PP?
what is the purpose of _error_? : Sas programming
What is data _null_?
explain about sas business intelligence? : Sas-bi
What are the five ways to do a table lookup in sas? : sas-grid-administration
What sas features do you use to check errors and data validation?
What is program data vector (pdv)?
Can you execute macro within another macro? : sas-macro