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

How to limit decimal places for the variable using proc means?

591


What is the difference between INPUT and INFILE ?

752


what is star schema? : Sas-di

637


In sas, what are the areas that you are most interested in? : sas-grid-administration

634


How is character variable converted into numeric variable and vice versa?

588






How many ways to overcome a missing values???

2330


Why and when do you use proc sql?

754


What is the use of PROC gplot?

634


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1222


I need level 2 to 5 sas using companies in india

1926


what is the basic structure sas administrator? : Sas-administrator

561


What is the difference between proportion and average?

2753


what are several options for creating reports in web report studio? : Sas-bi

626


In SAS explain which statement does not perform automatic conversions in comparisons?

792


explain the concepts and capabilities of business object? : Sas-bi

538