Oct 29, 1993
1990 Census of Population and Housing
STF3A for PUERTO RICO
旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴쩡컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴�
� Using The CD-ROM �
읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴�
The software runs on personal computers with 640K RAM operating under MS-DOS
3.3 or higher. There are no special display requirements. The CD-ROM is in
the ISO 9660 format which requires the use of Microsoft CD-ROM Extensions
Version 2.0 or higher.
For direct access to the data files, one of the many software packages
which recognize the dBASE III Plus (.DBF) format will be very useful.
Users of other types of systems, such as the Apple Macintosh, have access
to the files through support for ISO 9660 CD-ROMs. Please note that the
retrieval software will only run in the MS-DOS environment.
Starting The Software type GO and ENTER.
Example: L:\>go
旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴쩡컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴�
� Contents Of The CD-ROM �
읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴�
Volume in drive is CD90_3A_PR
DOCUMENT
Directory for documentation files. These are ASCII text files
which contain the complete technical documentation for the data.
See \DOCUMENT\HOWTOUSE.ASC for information on the contents of
the files.
GO.BAT Batch file to execute data retrieval software.
STF3A.EXE Data retrieval software.
STF3??PR.DBF Statistical databases file for each State. is the State
abbreviation. There are 18 files for each State numbered
STF300PR.DBF through STF317PR.DBF
>>Reference Files<<
STF3STRU.DBF This file describes the structure of the first 67 fields in the
statistical database file. These are the identification fields.
TABLES.DBF This file describes the numeric data tables.
CNAMESPR.DBF This file lists county names and FIPS codes for Puerto Rico.
>>Index Files<<
CNAMESPR.NDX This is a dBASE III index file for CNAMESPR.DBF.
Key field is ANPSADPI.
STF3AMPR.NDX This is a dBASE III index file for STF300PR.DBF.
Key fields are SUMLEV + CNTY + COUSUBFP + PLACEFP + TRACTBNA +
BLCKGR.
STF3APPR.NDX This is a dBASE III index file for STF300PR.DBF.
Key fields are SUMLEV +PLACEFP.
STF3ATPR.NDX This is a dBASE III index file for STF300PR.DBF.
Key fields are SUMLEV + CNTY + TRACTBNA + BLCKGR.
STF3ALPR.NDX This is a dBASE III index file for STF300PR.DBF.
Key fields are SUMLEV + left(ANPSADPI,1). This index is UNIQUE.
TABLES.NDX This is a dBASE III index file for TABLES.DBF.
Key fields are TABLE + FIELD.
컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컫컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
� Converting dBASE Files �
읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴�
'**********************************************
'*** This is a Microsoft BASIC program that ***
'*** converts a dBASE (.DBF) file to ASCII ***
'*** (.TXT). ***
'**********************************************
CLS
INPUT "Database file to convert -> ", InFile$
INPUT " Text file -> ", OuFile$
OPEN InFile$ FOR BINARY AS #1
OPEN OuFile$ FOR OUTPUT AS #2
TYPE HdrStru
Filler AS STRING * 4
RecCount AS LONG
HdrBytes AS INTEGER
RecBytes AS INTEGER
END TYPE
DIM Hdr AS HdrStru
GET #1, , Hdr
SEEK #1, Hdr.HdrBytes + 1
RecCntr = 0
DO
Rec$ = STRING$(Hdr.RecBytes, " ")
GET #1, , Rec$
PRINT #2, MID$(Rec$, 2)
RecCntr = RecCntr + 1
IF RecCntr = Hdr.RecCount THEN EXIT DO
LOOP
CLOSE #1, #2
읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸