Hello everyone,

I have a variable called stratum which is supposed to carry numbers from 1 to 10. Sometimes a few numbers (e.g. 3 and 7) are missing when I tabulate the stratum variables. I want to know (without tabulating stratum) which numbers are missing from the list and store the missing values in new variables.

i.e.:
If startum variable contains only 1,2,4,5,6,8,9 and 10, then I want to generate two new variables var1 & var2 where var1 has value 3 and var2 has value 7 (or temporarily store values 3 and 7 in some temporary variables).

I don't know how to do that and I need your help in doing so.

Thanks in advance.
Amit