Hi Recently I started learning SAS , I need help with retain statement I have the following dataset Id xyz A 1 A 2 A 3 A 4 B 1 B 2 B 3 B 4 I want to retain second observation in each group and reassign its value in 4th observation ..like Id xyz A 1 A 2 A 3 A 2 B 1 B 2 B 3 B 2 Thanks
... View more