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 type of exceptions & problems are faced in production time at java technology?
Explain polymorphism. Provide an example.
how many trailing zeroes are there in 100! (100 factorial)?
how do find the user exit for selected feild whatis the process and can u plz explain it
What is the difference between WebIntelligence and Designer in creating universes?
How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?
< No Frames > tag is used for
How to display questions one by one in jsp and I wants to store the answers in my database?
hi all, i need ur help in preparing a sql which performs scd2, i mean i have a scd2 mapping i need a sql which can give me same result as scd2 mapping, SRC table: cust_no, loc 01 abc 02 xyz TGT table: pm_ky cust_no loc current_flag 1 01 abc Y 2 02 xyz Y cust 1 has changed his loc to xyz then it loads into TGT table as below, pm_ky cust_no loc current_flag 1 01 abc N 2 02 xyz Y 3 01 xyz Y i need sql to get the above result, hope got me question, Any suggestion will be appreciate.. thanks, Vinod
hi i m deepak my shedule for NIC pi is 17 Apr please contact me if anybody has interview on same day or give me some idea who have faced
Define distributed queries. can you explain me as soon as possible
Difference of Console, web & windows applications?