Hello, really new to SAS. I am updating a table full of variables using PROC DATASETS and XATTR SET VAR. The first statements worked fine, and I added the column with the proper values. However, as I added more statements, I noticed that some of the values got swapped around between the variables. For example: AGE_40 (Values="39:Below 40yo; 4099(40-99yo)") AGE_45 (Values="44:Below 45yo; 4599(45-99yo)") AGE_55 (Values="54:Below 55yo; 5599(55-99yo)") get swapped with: AGE_0184262 (Values="1841(18-41yo); 4261(42-61yo); 6299(62-99yo)") AGE_0184565 (Values="17(10-17yo);1844(18-44yo); 4564(45-64yo); 6599(65-99yo)") AGE_0204565 (Values="19(10-19yo);2044(20-44yo); 4564(45-64yo); 6599(65-99yo)") So now AGE_40 has the values of AGE_0184262. I am not getting any errors or warnings in the log. Any help would be greatly appreciated.
... View more