thanks.. I am new in SAS... but I know how to use help.. weired that I can not find the transpose at the first try. but now, it is okay. Thank you!
I have another question is how to compare the difference of the value between the rowes? I know how to compare the difference between columns, but seems it is different to compare the difference between the rowes... can u help? Thank you!
Once you know how to transpose dataset, you can convert rows into colums. Then row difference become column difference. It is easy to calculate column difference and put results into a new column. If you need, transpose back, you will get the row difference on a new row.
It is a general method and hope it works. There are other ways to program but without looking at data, it is hard to tell.