title Postal code conversion file, Jan 1991. subtitle SPSS syntax rev ed. L Ruus, UT/DLS, 2010-05-11. set length=none width=133. file handle in / inpipe 'zcat /datalibrary/datalib/cstdli/pccf/pccf_jan91/pccf_jan91.dat.Z' / lrecl=344 data list file=in / pcode 1-6 (a) utmz 7-8 utmx 9-14 utmy 15-21 lat 22-27 (4) long 28-34 (4) pr 35-36 cd 37-38 csd 39-41 fed76cd 42-44 ea 45-47 ccs 48-50 cmaca 51-53 pcmapca 54-56 ctcode 57-60 ctname 61-67 roc 68 spr 69-70 birthyy 71-72 birthmm 73-74 retyy 75-76 retmm 77-78 fullrec 79 retpc 80 updateyy 81-82 updatemm 83-84 updatedd 85-86 dmt 87 (a) ruraloc 88 csdname 89-138 (a) csdtype 139-141 (a) cdname 142-191 (a) fed76nm 192-235 (a) cmaname 236-259 (a) pcmaname 260-284 (a) fed87cd 285-287 fed87nm 288-334 (a) unknown1 335-335 eapop86 336-339 eaprvdwl 340-343 unknown2 344. variable labels pcode 'Postal code' utmz 'UTM zone' utmx 'UTM easting coordinate' utmy 'UTM northing coordinate' lat 22-27 'Latitude' long 'Longitude' pr 'Region and province code' cd 'Census division code' csd 'Census subdivision code' fed76cd 'Federal electoral district (1976 Representation Order) code' ea 'Enumeration area' ccs 'Census consolidated subdivision code' cmaca 'Census metropolitan area/census agglomeration code' pcmapca 'Primary census metropolitan area/primary census agglomeration' ctcode 'Census tract code' ctname 'Census tract name' roc 'Statistics Canada regional office code' spr 'Sub-provincial region code' birthyy 'Birth date - year (YY)' birthmm 'Birth date - month (MM)' retyy 'Retired date - year (YY)' retmm 'Retired date - month (MM)' fullrec 'Full record indicator' retpc 'Retired postal code indicator' updateyy 'Update date - year (YY)' updatemm 'Update date - month (MM)' updatedd 'Update date - day (DD)' dmt 'Delivery mode type code' ruraloc 'Rural post office location' csdname 'Census subdivision name' csdtype 'Census subdivision type' cdname 'Census division name' fed76nm 'Federal electoral district (1976 Representation order) name' cmaname 'Census metropolitan area/census agglomeration name' pcmaname 'Primary census metropolitan area/primary census agglomeration name' fed87cd 'Federal electoral district (1987 Representation Order) code' fed87nm 'Federal electoral district (1987 Representation Order) name' unknown1 'Undocumented code' eapop86 'Enumeration area population, 1986 census' eaprvdwl 'Enumeration area occupied private dwellings, 1986 census' unknown2 'Undocumented code'. value labels pr 10 'Newfoundland' 11 'Prince Edward Island' 12 'Nova Scotia' 13 'New Brunswick' 24 'Quebec' 35 'Ontario' 46 'Manitoba' 47 'Saskatchewan' 48 'Alberta' 59 'British Columbia' 60 'Yukon Territory' 61 'Northwest Territories' / roc 1 'St. John''s' 2 'Halifax' 3 'Montreal' 4 'Sturgeon Falls' 5 'Toronto' 6 'Winnipeg' 7 'Edmonton' 8 'Vancouver' / fullrec 1 'all complete' 2 'some incomplete' / retpc 0 'valid postal code' 1 'retired postal code' / dmt 'A' 'delivery-domestic address' 'B' 'delivery-apartment building' 'E' 'delivery-commercial building' 'G' 'large volume receiver' 'H' 'Rural route delivery' 'J' 'General delivery' 'K' 'PO box delivery' 'M' 'PO box delivery' 'R' 'Miscellaneous' 'T' 'Suburban service delivery' 'X' 'Mobile route delivery' 'Z' 'Retired' / ruraloc 1 'EA contains post office' format ctname (f7.2) frequencies variables= utmz pr cd fed76 cmaca pcmapca roc spr birthyy birthmm retyy retmm fullrec retpc updateyy updatemm updatedd dmt ruraloc fed87cd descriptives variables= utmx utmy lat long csd ea ccs ctcode ctname execute finish