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

You need to create an In List that it is to be later used in
a Where Clause that includes all the Regions that begin with
the letter A from the sashelp.shoes table. Using PROC SQL
with an into clause create the following string from the
sashelp.shoes table using the variable region
“AFRICA”,”ASIA”,…..

Answer Posted / vema reddy dwarampudi

proc sql noprint;
select "'"||left(trim(Region))||"'" into :inlist separated
by ','
where Region like 'A%';
quit;

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

995


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?

1651


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

1043


Have you ever used the SAS Debugger?

1740


what is sas database server? : Sas-di

1109


how does sas handle missing values in sort order? : Sas programming

901


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

967


Give e an example of..

2326


What would be the value of month at the end of data step execution and how many observations would be there?

1129


What is the difference between INPUT and INFILE ?

1297


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

2089


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2912


How to create a permanent sas data set?

1200


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

1127


What are the parameters of scan function?

1159