319 * /home/jma7/Documents/lab04.part2.sas; 320 * Author: J. Abowd; 321 * Date: February 20, 2005; 322 323 dm "log" clear; 324 dm "output" clear; 325 326 libname solution "/home/jma7/Documents/" ; NOTE: Libref SOLUTION was successfully assigned as follows: Engine: V9 Physical Name: /home/jma7/Documents 327 libname lab4 "/space/courses/info747/lab4/" ; NOTE: Libname LAB4 refers to the same physical library as LABR. NOTE: Libref LAB4 was successfully assigned as follows: Engine: V9 Physical Name: /space/courses/info747/lab4 328 329 data solution.prec_female; WARNING: The Base Product product with which DATASTEP is associated will expire within 30 days. Please contact your SAS installation representative to have it renewed. 330 set solution.prec (keep=rectype serialno pnum relate pweight sex); 331 where (relate=01 & sex=2); 332 continue=0; 333 do while (continue=0); 334 set solution.hrec (keep=serialno finc puma5 hweight) key=serialno; 335 if _iorc_=0 then do; 336 output; 337 end; 338 else do; 339 _error_=0; 340 continue=1; 341 end; 342 end; 343 run; NOTE: There were 3406 observations read from the data set SOLUTION.PREC. WHERE (relate=1) and (sex=2); NOTE: The data set SOLUTION.PREC_FEMALE has 3406 observations and 10 variables. NOTE: DATA statement used (Total process time): real time 0.08 seconds cpu time 0.07 seconds 344 345 proc means data=solution.prec_female; WARNING: The Base Product product with which MEANS is associated will expire within 30 days. Please contact your SAS installation representative to have it renewed. 346 weight pweight; 347 var finc; 348 run; NOTE: There were 3406 observations read from the data set SOLUTION.PREC_FEMALE. NOTE: PROCEDURE MEANS used (Total process time): real time 0.01 seconds cpu time 0.00 seconds