How would you include common or reuse code to be processed
along with your statements?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / selvi
To add on above one, if you want to include the another SAS
program then use %include with full SAS code path.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / basha
we can use autocall liobrary in macros which includes
options mautosource
syntax creating auto call lbrary
libname statement
filename
catalog
at last
code:libname<filename><catalog><sourcecode>
note:macroname is same as source file name
| Is This Answer Correct ? | 0 Yes | 0 No |
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
Are you involved in writing the inferential analysis plan? Tables specfications?
what is the difference between nodup and nodupkey options? : Sas programming
what is the diff. b/w proc means and proc summary?
What are the different operating system platforms in which we can use sas? : sas-grid-administration
i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?
What is the difference between verification and validation?
What is the size of PDV?
how the sas basic syntax style described? : Sas-administrator
In proc transpose and data step with arrays which one you pick?
0 Answers Accenture, Quintiles,
name some data transformation used in sas di? : Sas-di
Differentiate between format and informat? : sas-grid-administration