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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different servers in sas? : sas-grid-administration

828


what is the difference between floor and ceil functions in sas? : Sas-administrator

930


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

1874


What is factor analysis?

851


What do the mod and int function do? : Sas programming

821


How to create an external dataset with sas code?

796


What are the statements in proc sql?

797


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1888


What are the automatic variables for macro? : sas-macro

858


Name any two sas spawners? : sas-grid-administration

771


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1848


what are informats in sas? : Sas-administrator

777


How to create a permanent sas data set?

864


explain the difference between proc means and proc summary?

870


What is program data vector (pdv) and what are its functions?

831