example of 1970 Census data conversion

example of 1970 Census data conversion

from:

csa:: [merrill.mail]calif. 4/14/93
calif/dhs/peggy reynolds et al
csa:: [merrill.mail]census70 4/14/93
census/1970/2ct/tract
	this document


4/14/93: created:
	csa.lbl.gov::sy$seedis:[seedis.csa3.lsttape.gss]
	seedgssmap.com command file and instructions for getting 1970 census
			files

used "SEEDIS - census - 1970 - misc" / "Census Data at LBL" pg.33
	to determine tape number for census/1970/2ct/tract/s06 = 22232

used seedis.lbl.gov::disk$seed1:[seedis.wongl.gss]tlist.df to
	determine
		source	POP2TR0A	22232
		dupl	POP2TR0B	30844

obtained tape 22232 from Bldg. 50A tape vault.  In csa machine room,
hung tape 22232 on utape4
logged into csa.lbl.gov as user SEEDIS
	set def sy$seedis:[seedis.csa3.lsttape.gss]
	@seedgssmap
	22232
	utape4
(batch job created [seedis]gssmap.log and unloaded tape)
	set def [seedis.csa3.lsttape.gss.junk]
	rename [seedis]gssmap.log to []22232.log
(determined path name /seedis/cens2pop/tract/s06/c001/*)
	gsstape
	n   (no information required)
	22232
	/seedis/cens2pop/tract/s06/c001/*
(submitted batch job for operator mounting)
(output will be in [seedis.dsk14apr153254])
	set host csa
	cache
	(password)
	reply/to
	reply/stat
	reply/to=12 utape4
	logout
(278 files tr.gss in [seedis.dsk14apr153254])
	create/dir [seedis.gss.22232.cens2pop.tract.s06.c001]
	set def [seedis.gss.22232.cens2pop.tract.s06.c001]
	rename [seedis.dsk*]*.* []
	rm [seedis]dsk14apr153254.dir
(convert to binary)

	copy tr400100.gss first.gss
	gssconvert
	first.gss
	first.dat
	1
	dump first.dat /out=first.dmp
	first.dat has 3*512 + 13*32 + 7*4 + 2 = 1536+416+28+2=1982 bytes
		= 264.26 CDC words
	word 1 = 00000005
	word 2 = 00B8B707 = 7 + 0*16 + 7*256 = 1799
	byte  0035H = 94
	byte  0036H = A1 = repeat count bytes
	byte  0037H = 3C = 3*16 + 12 = 60
	bytes 0038H-0073H=56-115  = 4F 41 4B 4C 41 4E 44 20 20 ...
	="OAKLAND.......................ALAMEDA......................."
	(60 characters)

	copy tr451700.gss last.gss
	gssconvert
	last.gss
	last.dat
	1
	dump last.dat /out=last.dmp
	last.dat has 4*512 + 5*32 + 0*4 + 1 = 2048+160+1=2209 bytes 
		= 294.53 CDC words
	word 1 = 00000005
	word 2 = 00B89A08 = 8 + 0*16 + 10*256 = 2568
	byte  0035H = E7
	byte  0036H = A1 = repeat count bytes
	byte  0037H = 3C = 3*16 + 12 = 60
	bytes 0038H-0073H=56-115  = 4C 49 56 45 52 4D 4F 52 45 ...
	="LIVERMORE.....................ALAMEDA......................."
	(60 characters)

	word 1 = dummy (used on VAX)
	word 2 = no of 6600 binary words in data array (expect 24+1320=1344)
	24 words of identification

	block 1 (512 bytes)

http://merrill.wwh.net/pdocs/archive/example1970.html 7/18/95
dwmerrill@lbl.gov