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 to assign a macro value to a variable?

Answer Posted / saritha

%let variable=value;
like
%let city='hyd';

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is change analysis in sas di ? : Sas-di

1007


what is sas business intelligence? : Sas-bi

1122


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

1233


What is connection profile? : sas-grid-administration

1133


What is a macro routine?

2668


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

2202


What are the different operating system platforms in which we can use sas? : sas-grid-administration

1023


Describe a time when you were really stuck on a problem and how you solved it?

2598


Differentiate between format and informat? : sas-grid-administration

1023


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.

2168


What are the different versions of sas that you have used until now? : sas-grid-administration

1302


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

1279


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

1109


what r the job openings SAS for fresher graduates !

2402


why a stop statement is needed for the point= option on a set statement?

1032