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 |
we can use parameters in cl and rpg pgms...etc.in particular i think when we use data area or datastructure or data queue .i think this means which one====in my question...parameters cannot be passed in which one????hope understand my qstn???
What is algorithm in SCD Type2(SAS DI Studio Transformaton)?
How to call static method in Java?
how many keywords are present in "c"?
18 Answers Assurgent, Cynosure Software, IBM,
What is meant by spooling
Write a program to create a process in UNIX
what is programming language?
sample and simple coding where we get?
what is log files in qtp what is use
Which of the following are Java modifiers?
What is easiest way to get the PL/i compiler,I didn't have found the compiler in my library. Is there any extra cost if we want to access the PL/1 programs?Actually we r having Mainframe rented training Ids
What is the difference between an EXE and a DLL?
3 Answers ABC, Hykin Solutions, Infoedge, Infosys, Polaris,