1 The SAS System 13:00 Friday, August 13, 1999 NOTE: Copyright (c) 1989-1996 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software Release 6.12 TS020 Licensed to HARVARD SCHOOL OF PUBLIC HEALTH-INSTRUCTIONAL COMP, Site 0001177014. This message is contained in the SAS news file, and is presented upon initialization. Edit the files "news" in the "misc/base" directory to display site-specific news and information in the program log. The command line option "-nonews" will prevent this display. NOTE: AUTOEXEC processing beginning; file is /usr/sunos/local/sas612/autoexec.sas. NOTE: SAS initialization used: real time 0.120 seconds cpu time 0.045 seconds NOTE: AUTOEXEC processing completed. 1 /* Demonstrate various weight variables in Mare Winship file, 2 including showing off obvious problems. */ 3 options nocenter; 4 filename raw pipe 'zcat /home/data/mare_winship/cpsmw[6-9]*.Z'; 5 libname save '.'; NOTE: Libref SAVE was successfully assigned as follows: Engine: V612 Physical Name: /usr16/home/nber/feenberg/taxsim 6 7 data save.mwtax0; 8 length default=4; 9 infile raw lrecl=386; 10 input year 13 - 14 @; if year ne 82; 11 input 12 fama 238 - 242 4 13 famp 243-247 4 14 fambas 248-259 15 hh 260-270 2 16 pera 271-275 2 17 perp 276-280 2 18 persup 281-292 2 19 basic 293 - 303 2 20 ; 21 if fama eq 0 then fama = .; 22 if famp eq 0 then famp = .; 23 if fambas eq 0 then fambas = .; 24 if hh eq 0 then hh = .; 25 if pera eq 0 then pera = .; 26 if perp eq 0 then perp = .; 27 if persup eq 0 then persup = .; 28 if basic eq 0 then basic = .; 29 run; NOTE: The infile RAW is: Pipe command="zcat /home/data/mare_winship/cpsmw[6-9]*.Z" NOTE: Invalid data for BASIC in line 2374300 293-303. RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0 2374300 07374700100181140000000000000000014120106+000014000109203906511000106040202019392+000014000204320126 101 69912017000001+0000001101480101010000011+000000000001+0014000+001400010000000210011026+0140000000000 201 000052070000000000+1099721016690912000000000000+00000071450+00000714500000000000+0000007 10 10 1 301 82110000000000000000014120102+000034050101400196911000102010000031119+0000340502034201 YEAR=81 FAMA=. FAMP=. FAMBAS=71450 HH=714.5 PERA=. PERP=. PERSUP=0.07 BASIC=. _ERROR_=1 _N_=2374300 NOTE: 4108240 records were read from the infile RAW. The minimum record length was 386. The maximum record length was 386. One or more lines were truncated. NOTE: The data set SAVE.MWTAX0 has 3945538 observations and 9 variables. NOTE: DATA statement used: real time 8:34.220 cpu time 2:54.783 2 The SAS System 13:00 Friday, August 13, 1999 30 31 proc tabulate; 32 variables fama famp fambas hh pera perp persup basic; 33 class year; 34 table year,(fama famp fambas hh pera perp persup basic)*N 35 /rts=19; 36 table year,(fama famp fambas hh pera perp persup basic)*sum 37 /rts=19; 38 run; NOTE: At least one W.D format was too small for the number to be printed. The decimal may be shifted by the "BEST" format. NOTE: The PROCEDURE TABULATE printed pages 1-2. NOTE: PROCEDURE TABULATE used: real time 42.810 seconds cpu time 30.767 seconds 39 40 endsas; NOTE: The SAS System used: real time 9:17.210 cpu time 3:25.603 NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414