Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you read in the variables that you need?

Answer Posted / chiranjeevi

using variable control options.
keep:It decides the no. of variable should remain within the
dataset.

syntax:keep<variablelist>;
example:
data code;
input name$ no sal;
keep name sal;
datalines;
a 32 3000
b 56 7000
c 12 7890
run;
proc print data=code;
run;

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sas and what are the functions? : Sas-administrator

1029


If a variable contains letters or special characters, can it be numeric data type?

1279


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

1251


describe the interaction table in sas di? : Sas-di

1072


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1728


Describe what are the different levels of administrative users in sas? : sas-grid-administration

1081


what is the use of sas management console? : Sas-di

1139


what is factor analysis? : Sas-administrator

1144


what are the best practices to process the large data sets in sas programming? : Sas-administrator

1073


How will you generate test data with no input data?

1232


What are the features of base sas system?

1110


How do you specify the number of iterations and specific condition within a single do loop?

1152


what is transformation in sas data integration? : Sas-di

1082


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

1129


How does proc sql work?

1144