Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.

Answers were Sorted based on User's Feedback



if you have 365 no of data set and each one having different variable from each other. how will you..

Answer / manoj mishra

Make a library where all data set resides. Use proc contect
and out option to create a data of proc contect from where
we get all data set name. Create Macro using Call Symput for
each dataset name into separate macro variable. We can not
merge them as they dont have common variable. We need set or
Append or SQL to merge them together.

Is This Answer Correct ?    8 Yes 0 No

if you have 365 no of data set and each one having different variable from each other. how will you..

Answer / 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

More SAS Interview Questions

How do you write a test plan?

1 Answers   Oracle,


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

0 Answers  


what is change analysis in sas di ? : Sas-di

0 Answers  


what is the basic structure sas administrator? : Sas-administrator

0 Answers  


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?

0 Answers  


For what purpose(s) would use the RETURN statement?

1 Answers  


How to include or exclude specific variables in a data set?

0 Answers  


What report output formats can you generate using SAS?

3 Answers   Accenture,


What is run-group processing?

0 Answers  


Did you used proc lifetest? when?

2 Answers   Accenture, Parexel, Quintiles,


What are the scrubbing procedures in sas?

0 Answers  


What is the command used to find missing values?

0 Answers  


Categories