1.What is difference between symget and & in sas?
2.what is difference between callsymput and %let?
Answer / somnath
=> Symget is used to resolve macro variables in data step
and & is used to resolve macro variable in macro processing.
For example, if you have 10 macro variables name1-name10
which contains 10 names and you want to get a particular
name in a data step then you can use symget, not &.
data rank;
i=4;
run;
data name;
set rank;
name=symget('name' || left(put(i, 8.)));
run;
=> The same concept applies for call symput.
The main idea is that the routines symget and symput are
executed at sas run-time where & and %let executes at macro
run time, much before that sas executes it.
| Is This Answer Correct ? | 17 Yes | 0 No |
What is the difference between save and create method of activerecord?
how do i add a column dynamically in a table by using java application?
What is Boxing?
what are the advantages of sap on other software ?
How many packages available in java??
Write a program to find whether a given number is prime or not.
why not instantiating servet using new operator?
4.Write a program to get the string in array and print that? or Without using loop print the array.
what is jackson structured develepment?? and how is it different from OMT??
Plz Show notepad Coding using c# in window based application
write a program for finding the union of two integer array in java?
What are the compilers of JAVA and .NET Programming languages?