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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is apt_dump_score in datastage where it is useful

2007


what is the diffrence between software and hardware language?

2382


What binary value will be internally stored for NULL for the type S9(1) COMP 3 in mainframe

2020


in teradata level primary in table level allows duplicates why?

2145


why we use abstract in awt?

2078


hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern

2145


For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?

3722


Always use scope terminator like End-If with IF, End- Evaluate with Evaluate statement.Can somebody explain me the detail logical explanation?

2046


how to data grid use in data bind?

2080


hi i am jyoti i have done sap training in sd and master degree in economics have 2 year exp as enduser in (gdms)and 1 year as sd consultant.as contract basis now what i can do for getting job in it industry

2194


What is the entry point function of a DLL?

1099


5. How do you round the addition or subtraction of two numbers in assembler?

2279


WHAT IS MAIN IMPORTANT THING IN SOFTWARE?

2375


10.Define filters,binary to hexadecimal,hexadecimal to decimal?

2200


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.

1103