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 c sharp dotnet
can we use commit,rollback in triggers and how?
swap two number wthout using third variable
what are the topics choosen for jam round for interviews
how to run servlets in eclipse 3.3.2....if we choose file->new->servlet then after that it is showing javax.servlet.* ...cannot be resolved.......to avoid this error any external jar file is to be added? please help me regarding this issue........thank u
What is algorithm in SCD Type2(SAS DI Studio Transformaton)?
purpose of abstraction and interface
What r the attributes using in Win Runner?
0 Answers Tavant Technologies,
why not instantiating servet using new operator?
Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present.
Given n red balls and m blue balls and some containers, how would you distribute those balls among the containers such that the probability of picking a red ball is maximized, assuming that the user randomly chooses a container and then randomly picks a ball from that.
in teradata level primary in table level allows duplicates why?