/ Published in: SAS
Use the Retain Statement to reorder variables. No data is lost and the variable attributes are kept. Works for SAS 8.2 and up.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
data neworder_retain; retain Name Age Sex Weight Height; set sashelp.class; run;