*********************************************************************** School Survey on Crime and Safety (SSOCS) 2003-04 *********************************************************************** Public-Use File This disk contains the data and documentation for the School Survey on Crime and Safety, sponsored by the National Center for Education Statistics and conducted in the spring of the 2003-04 school year. The following files are provided: SSOCS 2003-04 data files: ---------------------- SSOCS_PUF.SAS7BDAT - SAS public-use data file FORMATS.SAS7BCAT - format library FORMATS.SAS - SAS format statements LABELS.TXT - SAS label statements for variables SSOCS_PUF.SAV - SPSS for Windows public-use data file SSOCS_PUF.TXT - ASCII fixed-format public-use data file for importation into other software packages SSOCS_PUF_READ.SAS - SAS program to read the ASCII fixed-format data file into a SAS data set SSOCS_PUF_READ.SPS - SPSS program to read the ASCII fixed-format data file into an SPSS data set SSOCS documentation: -------------------- 2007333.PDF - 2003-04 SSOCS Public-Use Data File Codebook 2007335.PDF - 2003-04 SSOCS Data File User's Manual README.TXT - this "read me" file *********************************************************************** A note to SAS users *********************************************************************** The SAS data file is in the format used for SAS version 8.2. The SAS data set has user-defined value-label formats. These are provided in the FORMATS.SAS data set. Based on FORMATS.SAS the format catalog FORMATS.SAS7BCAT has been created. For processing SSOCS SAS data, users should include the format catalog using the following statement: LIBNAME LIBRARY 'PATH'; *path in which the FORMATS.SAS7BCAT file is located; For example, if the FORMATS.SAS7BCAT file is placed in the C:\ directory, users would use the following statement: LIBNAME LIBRARY 'C:\'; *path in which the FORMATS.SAS7BCAT file is located; Alternatively, the following statement could be used: %INCLUDE 'PATH\formats.sas'; *path in which the FORMATS.SAS file is located; Continuing the example above, if the FORMATS.SAS file has been placed in the C:\ directory, users would include the following statement: %INCLUDE 'C:\formats.sas'; *********************************************************************** Reading the ASCII (text) fixed-format data file *********************************************************************** This disk contains a SAS program to read the ASCII (text) fixed-format data file (SSOCS_PUF.TXT). To use the SAS program (SSOCS_PUF_READ.SAS), you must specify the correct path to the ASCII (text) fixed-format data file (SSOCS_PUF.TXT). The default location specified in the program is C:\. To specify a different location for the SSOCS_PUF.TXT, FORMATS.SAS, and LABELS.TXT files, modify the following macro variable statement: %LET path = C:\ ; For example, if you have copied the files to C:\PROJECTS, then make this change to the macro variable: %LET path = C:\PROJECTS ;