Weights in SPSS

I have SPSS v20. I have over and under -sampled certain regions then I calculated design weight by dividing N/n and created new variable using that value (N/n). Can I turn on weight in SPSS statistics and select that newly created weight variable under Data - Weight Cases - Weight Cases by? Thanks