SPSS Info

Click on DATA (you should be in the Data Editor to do this.) 

Click SPLIT FILE. 

Select COMPARE GROUPS 

Move the variable on which you want to split the file (e.g., SEX) into the space on the right. 

Click OK 

Run whatever procedures you like, and you'll get the results for each group.