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 |
purpose of abstraction and interface
When will you use shell script/Perl ahead of C/C++?
WS-NUM PIC S9(05)V(02) SIGN TRAILING SEPARATE MOVE '0050000+' TO WS-NUM The value stored is 00500,00+ MOVE '0050000-' TO WS-NUM Then what is the value will be stored in WS-NUM? Am getting '-00500,00'.....>>> What should I declare to WS-NUM so that I can get correct values for both + & - signs.
why rownum=1 works properly but not rownum=>2,=>3 etc.
Definition of Singleton Class? what is the Purpose of it? what is the advantage?
This is the portal and portlet interview question API: is JSR 168 API Server: is ibm web sphere portal server6.0 IDE: is RAD 7.0 Question:In normal struts what is the actionservlet? Ans:org.apache.struts.action.ActionServlet. But What is the actionservlet in strutsportlet?
difference between list and display command ?
can we extend a class having only one parameterised constructor.Suggest the process to do it.
hi this is uday i want prepare for nic exam if any one have previous question papers please send me or atlest guide me how to prepare my ID is udaykiran4u@in.com
5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above
What are the five tracing levels in System.Diagnostics.TraceSwitcher?
what is delegate and delegation model give the real live example on delegate model