In reply to Sophia Miryam.

Whenever you see different results in different SAS environments, first thing to check is system options. You can run PROC OPTIONS in both environments and compare -- but that's a big list to look at. Some frequent culprits are options related to missing values, variable names (validvarname = ANY vs V7).