What is the difference Using & and && in the macro variables
Answer Posted / naga
& is used to resolve the direct macro reference.
&& is used to resolve the indirect macro reference.
for example let us assume we need to resolve city1 to banglore
%let &city&n /*incorrect*/
%let &&city&n /*correct*/
| Is This Answer Correct ? | 20 Yes | 1 No |
Post New Answer View All Answers
What is the difference between one to one merge and match merge? Give an example.
What are the different versions of sas that you have used until now? : sas-grid-administration
AE datasets names? how many types?
What are the table names in oracle database...?
What are the prime responsibilities of data integration administrator? : Sas-di
What do you understand by the term Normal Distribution?
What is a method to debug and test your SAS program?
What are the automatic variables for macro? : sas-macro
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
What is the use of divide function?
what do the pad and dim functions do? : Sas programming
What are the statements that are executed only?
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
what is the purpose of _error_? : Sas programming
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro