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

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

1219


Which command is used to save logs in the external file?

1146


What are the different servers in sas? : sas-grid-administration

1099


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

2804


What is the role of administrative users? : sas-grid-administration

1134


To what type of programms have you used scratch macros?

2607


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.

2244


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1657


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

1958


how to debug and test the sas program? : Sas-administrator

1074


What is the basic syntax of a sas program?

1260


What is the difference between order and group variable in proc report?

1480


What do the SAS log messages "numeric values have been converted to character" mean?

1428


What is the use of the %include statement?

1210


What can you learn from the SAS log when debugging?

1433