Question: what is nway in proc summary?
Answer: The NWAY options instructs the SUMMARY procedure to only create rows with a combination of all class variables. These options are available only when used with the CLASS statement, not with the BY statement.