@PaigeMiller wrote:
@sas_nutzer wrote: In this case I need the correct order.
Why? What bad things happen if your ordering is not correct? Please explain in detail.
The dataset is difficult for humans to work with. You cannot LOOK at the data without having to rearrange the columns.
Example I have seen way too many times. Someone lazily create a bunch of optional long character variables at the front of the program data vector.
data class;
length comment1-comment4 $200;
set sashelp.class;
run;
Then when you try to examine the data the whole first page of data is filled with empty columns.
... View more