if you have 365 no of data set and each one having different
variable from each other. how will you read by creating
macros and create a single data set.
Answer Posted / singh.naveen409
%macro naveen(xx,n);
data www;
merge
%do i=1 %to &n;
&xx&i
%end;
;
run;
%mend naveen;
%naveen (qq,2);
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
what are the scrubbing procedures in sas? : Sas programming
Give e an example of..
what are some good sas programming practices for processing very large data sets? : Sas programming
how do you pull data from equifax?tell me the process?
What are the automatic variables for macro? : sas-macro
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
What’s the difference between var b1 – b3 and var b1 — b3?
What is the good sas programming practices for processing large data sets?
how to remove duplicates using proc sql?
What do you code to create a macro? : sas-macro
Explain the difference between nodup and nodupkey options?
What is the use of %include statement?
Explain substr function?
What was the last computer book you purchased? Why?
Describe the function and untility of the most difficult SAS macro that you have written.