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 |
Name and describe three SAS functions that you have used, if any?
describe about physical data integration? : Sas-di
what are system option ? give few examples ? what are dataset options and dataset statements ? if there is a keep option and keep statement ? which one is executed first ? Difference between a WHERE statement and IF statement ? what is the advantage of using WHERE statement option on the dataset ?
Which command is used to perform sorting in sas program?
How could i automate the code in the scenario:Every month one new data set will be created for that perticular month transaction list.Now i would like to update the data in the source table by appending every month data automatically. jan---set jan; feb---set jan feb; mar---set jan mar;
Could you please answers for this. 1.Code the tables statement for a single-level (most common) frequency. 2.Code the tables statement to produce a multi-level frequency.
What are types of transport files?
2 Answers PRA Health Sciences, Quintiles,
What was the last computer book you purchased? Why?
Describe a time when you were really stuck on a problem and how you solved it?
What is the basic syntax style in SAS?
explain the difference between proc means and proc summary?
explain the key concept of sas? : Sas-administrator