1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
61
62 DATA STATE (drop = i);
63 INFORMAT STATE1-STATE5 $2.;
64 INPUT ID STATE1-STATE5;
65 array vars[*] _character_;
66 do i=1 to dim(vars);
67 if vars[i]= 'XX' then vars[i]= ' ';
68 end;
69 DATALINES;
NOTE: The data set WORK.STATE has 3 observations and 6 variables.
NOTE: DATA statement used (Total process time):
real time 0.02 seconds
cpu time 0.02 seconds
73 ;
74 proc
75 print data=state;
76
NOTE: There were 3 observations read from the data set WORK.STATE.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.21 seconds
cpu time 0.22 seconds
77 proc
78 freq data=state;
79 table STATE1-STATE5/ nocum nopercent;
80 run;
NOTE: There were 3 observations read from the data set WORK.STATE.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.29 seconds
cpu time 0.27 seconds
81
82 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
95