Hello, I want to get each date with non-missing dates. My approach is if I can replace missing dates to the previous no-missing value, However, I'm having difficulty to replace these missing value., I appreciate any help. data test; input subid$ startdate enddate; datalines; XYZ-123-001-001 2013-04-04 2013-04-05 XYZ-123-001-001 2013-05-23 . XYZ-123-001-001 2013-06-07 2013-06-13 XYZ-123-001-001 2013-06-09 2013-06-15 XYZ-123-001-001 2013-07-07 . XYZ-123-001-001 2013-07-27 . XYZ-123-001-001 2013-08-07 2013-08-13
... View more