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

what is SAS/Graph?

1 Answers   CitiGroup, NTPC,


How do i read multiple spaces in datasets?

4 Answers   Quintiles,


how can u join the two tables without using proc sql Joins and nested queries ?

6 Answers   IBM,


what are the best practices to process the large data sets in sas programming? : Sas-administrator

0 Answers  


What is highest missing value for numeric?

1 Answers  


how does sas handle missing values in procs? : Sas programming

0 Answers  


what is the difference between informat$8. $char8.

3 Answers   SAS,


How can you put a "trace" in your program?

2 Answers   Quintiles,


Differentiate between ceil and floor functions.

0 Answers  


what are methods to identify duplicate observations?

5 Answers   HCL,


Name validation tools used in SAS

0 Answers  


What are the scrubbing procedures in sas?

0 Answers  


Categories