How would you include common or reuse code to be processed
along with your statements?

Answer Posted / selvi

We can code the resusable as seperate macro. And will call
into SAS program where ever there is a need.
Macro should start with %macro macroname(), and end with %
mend.
Syntax for call in datastep-%macroname

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is interleaving in SAS?

668


what is metadata? : Sas-bi

596


In proc transpose and data step with arrays which one you pick?

2572


why a stop statement is needed for the point= option on a set statement?

623


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

631






Have you ever used the SAS Debugger?

1203


How do you debug and test your SAS programs?

1046


How would you identify a macro variable?

646


Tell me more about the parameters in macro? : sas-macro

584


Give some ways by which you can define the variables to produce the summary report (using proc report)?

593


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1661


what other sas products have you used and consider yourself proficient in using? : Sas programming

679


What can be the size of largest dataset in SAS?

712


How to create an external dataset with sas code?

582


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1202