I am an extremely novice SAS Enterprise user. I have a set of data that includes the dates that patients died as the variable "death date". If a patient has died, the data when this occurred is displayed. If a patient is still alive, the cell is empty. I would like to create a new variable called "alive" with 1 indicating that the patient is still alive and 0 indicating that the patient has passed away. Could someone please help?
... View more