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


Please Help Members By Posting Answers For Below Questions

What is the use of %include statement?

623


what is program data vector? : Sas-administrator

617


What is the differnce between SDTM 3.1.2 to 3.1.1 version

4613


What is SAS? What are the functions does it performs?

736


how to read the variables in sas? : Sas-administrator

556






explain the main difference between the nodup and nodupkey options? : Sas-administrator

694


what versions of sas have you used (on which platforms)? : Sas programming

587


what is the Population you used in your project, is it ITT or PP?

2185


what is the purpose of _error_? : Sas programming

614


What is data _null_?

701


explain about sas business intelligence? : Sas-bi

599


What are the five ways to do a table lookup in sas? : sas-grid-administration

600


What sas features do you use to check errors and data validation?

694


What is program data vector (pdv)?

637


Can you execute macro within another macro? : sas-macro

532