Hello, My example of the variables (date1, date2, ..., daten) should actually be more like (date1, second_date, the_third_date, dt_exited...). In other words, the variables wouldn't necessarily end with a number nor look the same. Would this affect the code you have? Sorry I haven't had a chance to try it out, I changed jobs and waiting to get a SAS license. What I'm really looking for is to have some sort of loop in a data step, not necessarily just formats Thanks.
... View more