you need to provide more detail. We need some sample data and a more precise statement of how the variables relate to each other and to PERSON.
In general, you need to combine the two datasets into one. You can do that with the DATA step. If the two datasets represent pairings, then the MERGE statement would be needed; otherwise SET. In SQL, the comparable clauses are JOIN and UNION.
If your two scores are paired, then you need to take the difference and compare that to 0 using PROC MEANS. If they are independent, you would use the TTEST procedure with some classification variable.
The BY statement takes care of the person variable.
Doc Muhlbaier
Duke