title Postal codes by federal ridings file (PCFR). subtitle SPSS commands by L Ruus, UT/DLS, rev. 2007/01. file handle in / inpipe 'zcat /datalibrary/datalib/cstdli/pcfr/pcfr_07jan/pcfr_07jan.txt.Z' / lrecl=123 data list file=in / postcode 1-6 (a) rp 7-8 fed03 9-11 fedname 12-67 (a) fednom 68-123 (a) variable labels postcode 'Postal code' rp 'Region and province' fed03 'Federal electoral district code (2003 representation order)' fedname 'Federal electoral district name (English language)' fednom 'Federal electoral district name (French language)' * aggregate outfile=* / break=rp fed03 * / fedn=first(fedname) * list variables=rp fed03 fedn export outfile='pcfr_07jan.por' / keep=all execute finish