Hi,
Can somebody please advise me on the most straightforward way to recode a variable with data from a different variable?

My problem is that I have a height variable that has about 700 missing values. However, I also have an imputed height variable that I'd like to use to get rid of the missing information on the height variable.

This is what I see when run the following command:
Code:
list height imputed_height if height>300

       +-------------------+
       | height   impute~t |
       |-------------------|
   16. |  999.9      172.9 |
   19. |  999.9      165.3 |
   23. |  999.9      173.6 |
   31. |  999.9      160.8 |
   39. |  999.9      168.5 |
       |-------------------|
   40. |  999.9      165.3 |
   77. |  999.9      171.5 |
   78. |  999.9        152 |
   79. |  999.9      163.4 |
   81. |  999.9      170.3 |
       |-------------------|
   82. |  999.9        167 |
   83. |  999.9      167.5 |
   84. |  999.9      152.4 |
   85. |  999.9      161.7 |
   86. |  999.9      169.4 |
       |-------------------|
   87. |  999.9      170.8 |
   88. |  999.9      174.2 |
   89. |  999.9      180.8 |
   90. |  999.9      171.1 |
   92. |  999.9      166.4 |
So what I needed to do was to make height equal to imputed_height whenever height equals 999.9. I've tried to use recode but have been unable to find a working syntax hitherto.

Thanks in advance.