Sorry for the long log below but I just tried it with adding two spaces, then one space, then tab, but they all stated no observations. Also, tried using "1" as well just in case I was wrong about the observation for countrycit but this didn't work either. 726 proc import out=work.IAT2016_raw 727 datafile="C:\Users\tjoseph6\Documents\My SAS Files\IAT2016.sav" 728 dbms=sav replace; 729 run; NOTE: Variable Name Change. D_biep.White_Good_all -> D_biep_White_Good_all NOTE: Variable Name Change. D_biep.White_Good_36 -> D_biep_White_Good_36 NOTE: Variable Name Change. D_biep.White_Good_47 -> D_biep_White_Good_47 NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with options MSGLEVEL=I. NOTE: The import data set has 1051105 observations and 534 variables. NOTE: WORK.IAT2016_RAW data set was successfully created. NOTE: PROCEDURE IMPORT used (Total process time): real time 1:09.24 cpu time 25.42 seconds 730 data IAT2016; 731 set work.IAT2016_raw (keep=year birthyear sex_5 raceomb D_biep_White_Good_all countrycit 731! occupation_self politicalid_7); 732 Age=year-birthyear; 733 where countrycit eq ' US' & put( occupation_self,$OCCUPAA. ) in ('29-1000','31-1000') & sex_5 733! in (1,2); 734 if D_biep_White_Good_all ne .; 735 if politicalid_7 eq . then delete; 736 if Age lt 16 then delete; 737 if raceomb eq . then delete; 738 label sex_5='Gender' 739 raceomb='Race' 740 D_biep_White_Good_all='Overall IAT D Score' 741 politicalid_7='Political Ideology Spectrum' 742 occupation_self='Occupation' 743 countrycit='Country'; 744 run; NOTE: There were 0 observations read from the data set WORK.IAT2016_RAW. WHERE 0 /* an obviously FALSE WHERE clause */ ; NOTE: The data set WORK.IAT2016 has 0 observations and 9 variables. NOTE: DATA statement used (Total process time): real time 0.21 seconds cpu time 0.01 seconds 745 proc contents data=IAT2016; 746 run; NOTE: PROCEDURE CONTENTS used (Total process time): real time 0.07 seconds cpu time 0.01 seconds 747 proc means data=IAT2016; 748 class occupation_self; 749 var D_biep_White_Good_all; 750 output out = Summary 751 mean = 752 n = / autoname; 753 format occupation_self $OCCUPAA.; 754 run; NOTE: No observations in data set WORK.IAT2016. NOTE: The data set WORK.SUMMARY has 0 observations and 5 variables. NOTE: PROCEDURE MEANS used (Total process time): real time 0.04 seconds cpu time 0.03 seconds 755 proc import out=work.IAT2016_raw 756 datafile="C:\Users\tjoseph6\Documents\My SAS Files\IAT2016.sav" 757 dbms=sav replace; 758 run; NOTE: Variable Name Change. D_biep.White_Good_all -> D_biep_White_Good_all NOTE: Variable Name Change. D_biep.White_Good_36 -> D_biep_White_Good_36 NOTE: Variable Name Change. D_biep.White_Good_47 -> D_biep_White_Good_47 NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with options MSGLEVEL=I. NOTE: The import data set has 1051105 observations and 534 variables. NOTE: WORK.IAT2016_RAW data set was successfully created. NOTE: PROCEDURE IMPORT used (Total process time): real time 1:08.20 cpu time 25.62 seconds 759 data IAT2016; 760 set work.IAT2016_raw (keep=year birthyear sex_5 raceomb D_biep_White_Good_all countrycit 760! occupation_self politicalid_7); 761 Age=year-birthyear; 762 where countrycit eq ' US' & put( occupation_self,$OCCUPAA. ) in ('29-1000','31-1000') & sex_5 in 762! (1,2); 763 if D_biep_White_Good_all ne .; 764 if politicalid_7 eq . then delete; 765 if Age lt 16 then delete; 766 if raceomb eq . then delete; 767 label sex_5='Gender' 768 raceomb='Race' 769 D_biep_White_Good_all='Overall IAT D Score' 770 politicalid_7='Political Ideology Spectrum' 771 occupation_self='Occupation' 772 countrycit='Country'; 773 run; NOTE: There were 0 observations read from the data set WORK.IAT2016_RAW. WHERE (countrycit=' US') and PUT(occupation_self, $OCCUPAA79.) in ('29-1000', '31-1000') and sex_5 in (1, 2); NOTE: The data set WORK.IAT2016 has 0 observations and 9 variables. NOTE: DATA statement used (Total process time): real time 38.93 seconds cpu time 7.75 seconds 774 proc contents data=IAT2016; 775 run; NOTE: PROCEDURE CONTENTS used (Total process time): real time 0.06 seconds cpu time 0.01 seconds 776 proc means data=IAT2016; 777 class occupation_self; 778 var D_biep_White_Good_all; 779 output out = Summary 780 mean = 781 n = / autoname; 782 format occupation_self $OCCUPAA.; 783 run; NOTE: No observations in data set WORK.IAT2016. NOTE: The data set WORK.SUMMARY has 0 observations and 5 variables. NOTE: PROCEDURE MEANS used (Total process time): real time 0.10 seconds cpu time 0.04 seconds 784 proc import out=work.IAT2016_raw 785 datafile="C:\Users\tjoseph6\Documents\My SAS Files\IAT2016.sav" 786 dbms=sav replace; 787 run; NOTE: Variable Name Change. D_biep.White_Good_all -> D_biep_White_Good_all NOTE: Variable Name Change. D_biep.White_Good_36 -> D_biep_White_Good_36 NOTE: Variable Name Change. D_biep.White_Good_47 -> D_biep_White_Good_47 NOTE: One or more variables were converted because the data type is not supported by the V9 engine. For more details, run with options MSGLEVEL=I. NOTE: The import data set has 1051105 observations and 534 variables. NOTE: WORK.IAT2016_RAW data set was successfully created. NOTE: PROCEDURE IMPORT used (Total process time): real time 1:09.08 cpu time 26.90 seconds 788 data IAT2016; 789 set work.IAT2016_raw (keep=year birthyear sex_5 raceomb D_biep_White_Good_all countrycit 789! occupation_self politicalid_7); 790 Age=year-birthyear; 791 where countrycit eq ' US' & put( occupation_self,$OCCUPAA. ) in ('29-1000','31-1000') & sex_5 791! in (1,2); 792 if D_biep_White_Good_all ne .; 793 if politicalid_7 eq . then delete; 794 if Age lt 16 then delete; 795 if raceomb eq . then delete; 796 label sex_5='Gender' 797 raceomb='Race' 798 D_biep_White_Good_all='Overall IAT D Score' 799 politicalid_7='Political Ideology Spectrum' 800 occupation_self='Occupation' 801 countrycit='Country'; 802 run; NOTE: There were 0 observations read from the data set WORK.IAT2016_RAW. WHERE 0 /* an obviously FALSE WHERE clause */ ; NOTE: The data set WORK.IAT2016 has 0 observations and 9 variables. NOTE: DATA statement used (Total process time): real time 0.21 seconds cpu time 0.01 seconds 803 proc contents data=IAT2016; 804 run; NOTE: PROCEDURE CONTENTS used (Total process time): real time 0.04 seconds cpu time 0.03 seconds 805 proc means data=IAT2016; 806 class occupation_self; 807 var D_biep_White_Good_all; 808 output out = Summary 809 mean = 810 n = / autoname; 811 format occupation_self $OCCUPAA.; 812 run; NOTE: No observations in data set WORK.IAT2016. NOTE: The data set WORK.SUMMARY has 0 observations and 5 variables. NOTE: PROCEDURE MEANS used (Total process time): real time 0.06 seconds cpu time 0.06 seconds
... View more