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 the difference between unique key and primary key? : Sas-di

0 Answers  


How necessary is it to be creative in your work?

0 Answers   Oracle,


in data set200 observation how to take 110,150,170 using sql procedure?

7 Answers   Accenture,


how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

0 Answers  


what is validvarname and varnum? why we are using this options; explain with a syntax for this options?

1 Answers   Max India,


What is the role of unrestrictive users? : sas-grid-administration

0 Answers  


What is the difference between SAS Data step and SAS PROC SQL, and which is better?

1 Answers   TCS,


i have a macro variable var1,var2. i want titles for the each macro variable separately? how it is possible?

1 Answers   L&T,


If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?

4 Answers  


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

0 Answers  


Explain the message ‘MERGE HAS ONE OR MORE DATASETS WITH REPEATS OF BY VARIABLE’.

2 Answers  


How would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable?

1 Answers   Quintiles,


Categories