Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


1.What is difference between symget and & in sas?
2.what is difference between callsymput and %let?



1.What is difference between symget and & in sas? 2.what is difference between callsymput and %..

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

Post New Answer

More Programming Languages AllOther Interview Questions

why main() method should not return any value

2 Answers   Accenture,


Diff between IF and where ?

0 Answers   Accenture,


How can we develop a multi-tier application in Java?

0 Answers  


Artficial language is provided which of the language?

3 Answers   Geometric Software,


write a program for finding the union of two integer array in java?

2 Answers  


Difference between abstract class and Interfaces in Java

9 Answers   Nest, Persistent, Yantro Software,


what is runtime exception and compiletime exception ?

1 Answers   Accenture,


what is the exact full form of OOPS,O -> object O -> oriented P -> programing S-> ? ....

16 Answers  


what is difference between sap and java ?

1 Answers  


Please describe an example where you used object orientation in one of your programs.

0 Answers  


Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.

0 Answers   Amazon,


how can we implement locks in plsql?

0 Answers  


Categories