SAS Proc Contents option
Proc Contents that will arrange the output variable list in the order the variables appear in the dataset as opposed to arranging the variables alphabetically
Proc contents data=<dsn> varnum;
Run;
- POSITION option
proc contents position data=;
run;
proc contents data=mysasdata POSITION;
- VARNUM option
Use the VARNUM option:
proc contents data=mysasdata VARNUM;