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...

If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?

Answer Posted / mohan reddy

U CAN USE THE KEEP OPTION.

EX

DATA EMP(KEEP=NAME AGE SAL ADD LOC);
SET EMPLOYEE;
RUN;

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To what type of programms have you used scratch macros?

2575


What is the sas data set? : sas-grid-administration

993


what are some differences between proc summary and proc means? : Sas programming

1138


Explain proc sort?

1129


Mention the difference between ceil and floor functions in sas?

1162


Describe the function and untility of the most difficult SAS macro that you have written.

2117


What is the difference between reading data from an external file and reading data from an existing data set?

1188


Can you suggest us materials for sdtm mapping?

4453


how do you want missing values handled? : Sas programming

965


what is hierarchy flattening? : Sas-di

1083


Mention what is the difference between nodupkey and nodup options?

1028


how many types prompting framework can be broken down to? : Sas-bi

1083


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

2207


How can you limit the variables written to output dataset in data step?

1321


How do you use the do loop if you don’t know how many times you should execute the do loop?

1271