I think most of your questions could be addressed by reshaping your
TREATx variables which would result in a single variable TREAT which
takes the value of TREAT1 for the first record, the value of TREAT2
for the 2nd record and so on.
Type help reshape
most likely you will end up with something like:
reshape long TREAT, i(your_ID_variable) etc
salah mahmud
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/