i deleted my comment when i realised you were restricting the random number (and thus you wouldn't get negative survival as i suggested). Your new approach sounds ideal ie informed as much as possible. I think in the industry it's not uncommon to replace missing days with 15, but that's when there's a decade between diagnosis and death. With shorter survival, as you say, the impact of how missings are handled is more apparent
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.