The trick is to type your first statement about your new variable (either FORMAT, LABEL or the variable's formula) AFTER the reading (SET or MERGE) statement ; then your variable is added at the far right of the dataset.
If you type at least one of the statements mentionning the new variable before the reading statement, it will be created at the left of the dataset.
Regards.
Olivier