Thank you. I will pay attention for that. This is a simplified model for generating some rtf files during drug clinical trial data submission, such as Summary of Treatment-Emergent Adverse Events by System Organ Class, Preferred Term and Severity, while I need to generate sas datasets with standard specification for easy review. So before using proc report, I also need the datasets already displayed in a certain order with the summary row in it as one observation. For that reason, we can not create any new variables or new statistics during report procedure, and all sorting variables should be prepared before. However, there's more for me to learn.Thanks again.
... View more