In reply to Shoaib shaikh.

Hi Shoaib,
For your scenario, column order (position) does not matter. PROC COMPARE will compare two data tables by variable names, not by their positions.