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...


how we can call macros with in data step?

Answers were Sorted based on User's Feedback



how we can call macros with in data step?..

Answer / kishore

%macroname;
this is way of calling macro but call symput/symget r used to create macro variable from data step variable/symget vice versa

Is This Answer Correct ?    0 Yes 0 No

how we can call macros with in data step?..

Answer / daya

by using symput command

Is This Answer Correct ?    3 Yes 7 No

how we can call macros with in data step?..

Answer / ramana

We can call the macro with CALLSYMPUT

Is This Answer Correct ?    3 Yes 7 No

how we can call macros with in data step?..

Answer / as

using symget

data one;
symget &macro1;
run;

Is This Answer Correct ?    0 Yes 5 No

how we can call macros with in data step?..

Answer / payal

Use callsymput in data step.
EX:

Data _null_;
set group;
call symput('_grpname',group name);
run;

Is This Answer Correct ?    2 Yes 8 No

how we can call macros with in data step?..

Answer / gurvinder singh

Using & (Ampersand)

Is This Answer Correct ?    0 Yes 8 No

how we can call macros with in data step?..

Answer / ram pabba

%include statement can be used to call a macro within a
data setp.

or

call a macro with %macro-name (only if the) in the datasetp
(condition that this marco exists in the central location
where it is defiened).

Please anybody suggest if these are right answers.

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More SAS Interview Questions

What Proc glm does?

0 Answers  


What versions of SAS have you used (on which platforms)?

0 Answers   Quintiles,


How would you determine how far down on a page you have printed in order to print out footnotes?

3 Answers  


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

0 Answers  


List down the reasons for choosing sas over other data analytics tools.

0 Answers  


what kind of variables are collected in AE dataset?

3 Answers   Accenture, Quintiles, SAS,


What is the purpose of the trailing and How would you use them?

8 Answers  


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et &#8722; 0.5e(t&#8722;1) and draw a line graph of xt.

0 Answers  


Code a PROC MEANS that shows both summed and averaged output of the data.

5 Answers  


How do you add a number to a macro variable? : sas-macro

0 Answers  


What are _numeric_ and _character_ and what do they do?

1 Answers   Quintiles,


What is the function of output statement in a SAS Program?

0 Answers  


Categories