1 The SAS System 13:16 Thursday, September 13, 2007 NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead. NOTE: All registry changes will be lost at the end of the session. WARNING: Unable to copy SASUSER registry to WORK registry. Because of this, you will not see registry customizations during this session. WARNING: The Base Product product with which Session Manager is associated will be expiring soon, and is currently in warning mode to indicate this upcoming expiration. Most typically this warning period runs for 45 days. Please run PROC SETINIT to obtain more information on your warning period. WARNING: The Base Product product with which TKSRV is associated will be expiring soon, and is currently in warning mode to indicate this upcoming expiration. Most typically this warning period runs for 45 days. Please run PROC SETINIT to obtain more information on your warning period. WARNING: The Base Product product with which DOS Monitor is associated will be expiring soon, and is currently in warning mode to indicate this upcoming expiration. Most typically this warning period runs for 45 days. Please run PROC SETINIT to obtain more information on your warning period. WARNING: The Base Product product with which Program datayear60 is associated will be expiring soon, and is currently in warning mode to indicate this upcoming expiration. Most typically this warning period runs for 45 days. Please run PROC SETINIT to obtain more information on your warning period. NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) 9.1 (TS1M3) Licensed to HARVARD SCHOOL OF PUBLIC HEALTH-INSTRUCTIONAL COMP, Site 0001177014. NOTE: This session is executing on the SunOS 5.9 platform. NOTE: SAS 9.1.3 Service Pack 3 WARNING: Your system is scheduled to expire on October 12, 2007, which is 29 days from now. Please contact your SAS Software Representative to obtain your updated SETINIT information. The SAS System will no longer function on or after that date. ----------------------------------------------------------------------- NBER NOTE: sas now defaults to sas9. sas8 or sas6 will invoke sas version 8 or 6 respectively. - 2005/10/21 ----------------------------------------------------------------------- You are running SAS 9. Some SAS 8 files will be automatically converted by the V9 engine; others are incompatible. Please see http://support.sas.com/rnd/migration/planning/platform/64bit.html PROC MIGRATE will preserve current SAS file attributes and is recommended for converting all your SAS libraries from any SAS 8 release to SAS 9. For details and examples, please see http://support.sas.com/rnd/migration/index.html This message is contained in the SAS news file, and is presented upon initialization. Edit the file "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. 2 The SAS System 13:16 Thursday, September 13, 2007 NOTE: SAS initialization used: real time 0.40 seconds cpu time 0.26 seconds 1 *options obs=100 ; 2 options nocenter ; 3 4 /*------------------------------------------------ 5 by Jean Roth Tue Jan 23 15:18:23 EST 2007 6 This program reads the 1959 NCHS Multiple Cause of Death Data Data File 7 8 Report errors to jroth@nber.org 9 This program is distributed under the GNU GPL. 10 See end of this file and 11 http://www.gnu.org/licenses/ for details. 12 ----------------------------------------------- */ 13 14 * The following line should contain the directory 15 where the SAS file is to be stored ; 16 17 libname library "./"; NOTE: Libref LIBRARY was successfully assigned as follows: Engine: V9 Physical Name: /disk/nber10/SCCS/mortality/1959-1967 18 19 * The following line should contain 20 the complete path and name of the raw data file. 21 On a PC, use backslashes in paths as in C:\ ; 22 23 FILENAME datafile pipe "unzip -p /homes/data/mortality/1959-1967/mort1960.zip "; 24 25 * The following line should contain the name of the SAS dataset ; 26 27 %let dataset = mort1960 ; 28 29 DATA &dataset ; WARNING: The Base Product product with which DATASTEP is associated will be expiring soon, and is currently in warning mode to indicate this upcoming expiration. Most typically this warning period runs for 45 days. Please run PROC SETINIT to obtain more information on your warning period. 30 31 INFILE datafile LRECL = 20000 ; 32 attrib datayear length=4 label=""; 33 INPUT 34 35 @1 datayear 4. 36 ; 37 NOTE: The infile DATAFILE is: Pipe command="unzip -p /homes/data/mortality/1959-1967/mort1960.zip " NOTE: 1711982 records were read from the infile DATAFILE. The minimum record length was 98. The maximum record length was 100. NOTE: The data set WORK.MORT1960 has 1711982 observations and 1 variables. NOTE: DATA statement used (Total process time): real time 21.38 seconds cpu time 19.83 seconds 3 The SAS System 13:16 Thursday, September 13, 2007 38 proc freq data=&dataset.; WARNING: The Base Product product with which FREQ is associated will be expiring soon, and is currently in warning mode to indicate this upcoming expiration. Most typically this warning period runs for 45 days. Please run PROC SETINIT to obtain more information on your warning period. 39 tables datayear; 40 41 42 /* 43 Copyright 2007 shared by the National Bureau of Economic Research and Jean Roth 44 45 National Bureau of Economic Research. 46 1050 Massachusetts Avenue 47 Cambridge, MA 02138 48 jroth@nber.org 49 50 This program and all programs referenced in it are free software. You 51 can redistribute the program or modify it under the terms of the GNU 52 General Public License as published by the Free Software Foundation; 53 either version 2 of the License, or (at your option) any later version. 54 55 This program is distributed in the hope that it will be useful, 56 but WITHOUT ANY WARRANTY; without even the implied warranty of 57 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 58 GNU General Public License for more details. 59 60 You should have received a copy of the GNU General Public License 61 along with this program; if not, write to the Free Software 62 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 63 USA. 64 */ WARNING: The Base Product product with which SASODR is associated will be expiring soon, and is currently in warning mode to indicate this upcoming expiration. Most typically this warning period runs for 45 days. Please run PROC SETINIT to obtain more information on your warning period. NOTE: There were 1711982 observations read from the data set WORK.MORT1960. NOTE: The PROCEDURE FREQ printed page 1. NOTE: PROCEDURE FREQ used (Total process time): real time 1.03 seconds cpu time 0.98 seconds NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 NOTE: The SAS System used: real time 22.88 seconds cpu time 21.09 seconds