What do you code to create a macro? : sas-macro



What do you code to create a macro? : sas-macro..

Answer / Arunesh Ranjan

In SAS, macros are defined using the %macro and %mend keywords. The body of the macro goes between these two keywords.nnFor example:nn %macro my_macro;n ...n %mend my_macro;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

How many data types are there in SAS?

1 Answers  


What does a PROC TRANSPOSE do?

8 Answers   Accenture,


6) Explain about below automatic variables a) _N_ b) _ERROR_ c) _CHAR_ d) _NUMERIC_ e) _ALL_ f) FIRST.BY VARIABLE g) LAST.BY VARIABLE h) _NAME_ i) _TYPE_ j) _FREQ_ k) _STAT_ l) _BREAK

1 Answers   IBM, SAS,


how will you locate the sas platform applications? : Sas-bi

1 Answers  


Name and describe three SAS functions that you have used, if any?

2 Answers  


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

1 Answers  


What is a method to debug and test your SAS program?

1 Answers  


Explain the purpose of retain statement.

1 Answers  


What is the order of application for output data set options, input data set options and SAS statements?

1 Answers   Quintiles,


If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?

10 Answers   Accenture,


In the SAS Data step what is the difference between the subsetting done by Where and subsetting done by If?

6 Answers   Cognizant,


what is operational data and operational system? : Sas-di

1 Answers  


Categories