I am asking for help developing an ARRAY. This is my 1st post, I am a new SAS user.
Working with a large health dataset. Used PROC TRANSPOSE to create the new dataset for ID and date from a much larger health dataset.
Have one line per ID (more than 100 ID's), each ID has many dates (variables) from 1 to 1,100. Many of the dates are duplicates, meaning they received different health services on the same date. Looking to reduce the dataset to a more manageable level by consolidating the duplicate dates for each ID, resulting in fewer columns.
So the var should look like date1, date2, date3...How do I create an ARRAY which eliminates the duplicate dates? Thank you