Which PROC PRINT statement controls the order of the variables displayed in the report?
In PROC PRINT, the VAR statement is used to control the order of the variables displayed in the report. You can list the variables in the order you want them to appear. The KEEP statement can control which variables appear, but not their order. DROP and SELECT are not valid statements within PROC PRINT for controlling the order of variables.
Reference
SAS documentation for PROC PRINT.
King
24 hours ago