Schedule of Changes to Minnesota newkeys
/* MARSHALL */
if year = 1987 and FSCSKEY = 'MN0056' then newkey = 'MN0057';
if year = 1988 and FSCSKEY = 'MN0056' then newkey = 'MN0057';
if year = 1989 and FSCSKEY = 'MN0056' then newkey = 'MN0057';
/* LAKE BENTON */
if year = 1987 and FSCSKEY = 'MN0121' then newkey = 'MN0056';
if year = 1988 and FSCSKEY = 'MN0122' then newkey = 'MN0056';
if year = 1989 and FSCSKEY = 'MN0122' then newkey = 'MN0056';
/* MOUNTAIN LAKE */
if year = 1987 and FSCSKEY = 'MN0057' then newkey = 'MN0059';
if year = 1988 and FSCSKEY = 'MN0058' then newkey = 'MN0059';
if year = 1989 and FSCSKEY = 'MN0058' then newkey = 'MN0059';
/* MORGAN */
if year = 1987 and FSCSKEY = 'MN0125' then newkey = 'MN0058';
if year = 1988 and FSCSKEY = 'MN0057' then newkey = 'MN0058';
if year = 1989 and FSCSKEY = 'MN0057' then newkey = 'MN0058';
/* WORTHINGTON */
if year = 1987 and FSCSKEY = 'MN0058' then newkey = 'MN0060';
if year = 1988 and FSCSKEY = 'MN0059' then newkey = 'MN0060';
if year = 1989 and FSCSKEY = 'MN0059' then newkey = 'MN0060';
/* REDWOOD FALLS */
if year = 1987 and FSCSKEY = 'MN0059' then newkey = 'MN0061';
if year = 1988 and FSCSKEY = 'MN0060' then newkey = 'MN0061';
if year = 1989 and FSCSKEY = 'MN0060' then newkey = 'MN0061';
/* LUVERNE */
if year = 1987 and FSCSKEY = 'MN0060' then newkey = 'MN0062';
if year = 1988 and FSCSKEY = 'MN0061' then newkey = 'MN0062';
if year = 1989 and FSCSKEY = 'MN0061' then newkey = 'MN0062';
/* SLAYTON */
if year = 1987 and FSCSKEY = 'MN0061' then newkey = 'MN0063';
if year = 1988 and FSCSKEY = 'MN0062' then newkey = 'MN0063';
if year = 1989 and FSCSKEY = 'MN0062' then newkey = 'MN0063';
/* WABASSO */
if year = 1987 and FSCSKEY = 'MN0062' then newkey = 'MN0065';
if year = 1988 and FSCSKEY = 'MN0063' then newkey = 'MN0065';
if year = 1989 and FSCSKEY = 'MN0063' then newkey = 'MN0065';
/* WESTBROOK */
if year = 1987 and FSCSKEY = 'MN0063' then newkey = 'MN0066';
if year = 1988 and FSCSKEY = 'MN0064' then newkey = 'MN0066';
if year = 1989 and FSCSKEY = 'MN0064' then newkey = 'MN0066';
/* WINDOM */
if year = 1987 and FSCSKEY = 'MN0064' then newkey = 'MN0067';
if year = 1988 and FSCSKEY = 'MN0065' then newkey = 'MN0067';
if year = 1989 and FSCSKEY = 'MN0065' then newkey = 'MN0067';
/* TYLER */
if year = 1987 and FSCSKEY = 'MN0133' then newkey = 'MN0064';
if year = 1988 and FSCSKEY = 'MN0133' then newkey = 'MN0064';
if year = 1989 and FSCSKEY = 'MN0133' then newkey = 'MN0064';
/* ROCHESTER */
if year = 1987 and FSCSKEY = 'MN0065' then newkey = 'MN0068';
if year = 1988 and FSCSKEY = 'MN0066' then newkey = 'MN0068';
if year = 1989 and FSCSKEY = 'MN0066' then newkey = 'MN0068';
/* AUSTIN */
if year = 1987 and FSCSKEY = 'MN0067' then newkey = 'MN0070';
if year = 1988 and FSCSKEY = 'MN0068' then newkey = 'MN0070';
if year = 1989 and FSCSKEY = 'MN0068' then newkey = 'MN0070';
/* ALBERT LEA */
if year = 1987 and FSCSKEY = 'MN0066' then newkey = 'MN0069';
if year = 1988 and FSCSKEY = 'MN0067' then newkey = 'MN0069';
if year = 1989 and FSCSKEY = 'MN0067' then newkey = 'MN0069';
/* CALEDONIA */
if year = 1987 and FSCSKEY = 'MN0068' then newkey = 'MN0071';
if year = 1988 and FSCSKEY = 'MN0069' then newkey = 'MN0071';
if year = 1989 and FSCSKEY = 'MN0069' then newkey = 'MN0071';
/* CANNON FALLS */
if year = 1987 and FSCSKEY = 'MN0069' then newkey = 'MN0072';
if year = 1988 and FSCSKEY = 'MN0070' then newkey = 'MN0072';
if year = 1989 and FSCSKEY = 'MN0070' then newkey = 'MN0072';
/* CHATFIELD */
if year = 1987 and FSCSKEY = 'MN0070' then newkey = 'MN0073';
if year = 1988 and FSCSKEY = 'MN0071' then newkey = 'MN0073';
if year = 1989 and FSCSKEY = 'MN0071' then newkey = 'MN0073';
/* DODGE CENTER */
if year = 1987 and FSCSKEY = 'MN0071' then newkey = 'MN0074';
if year = 1988 and FSCSKEY = 'MN0072' then newkey = 'MN0074';
if year = 1989 and FSCSKEY = 'MN0072' then newkey = 'MN0074';
/* FARIBAULT (FARIBAULT-BUCKHAM) */
if year = 1987 and FSCSKEY = 'MN0072' then newkey = 'MN0075';
if year = 1988 and FSCSKEY = 'MN0073' then newkey = 'MN0075';
if year = 1989 and FSCSKEY = 'MN0073' then newkey = 'MN0075';
/* HARMONY */
if year = 1987 and FSCSKEY = 'MN0073' then newkey = 'MN0076';
if year = 1988 and FSCSKEY = 'MN0074' then newkey = 'MN0076';
if year = 1989 and FSCSKEY = 'MN0074' then newkey = 'MN0076';
/* HOKAH */
if year = 1987 and FSCSKEY = 'MN0074' then newkey = 'MN0077';
if year = 1988 and FSCSKEY = 'MN0075' then newkey = 'MN0077';
if year = 1989 and FSCSKEY = 'MN0075' then newkey = 'MN0077';
/* KASSON */
if year = 1987 and FSCSKEY = 'MN0075' then newkey = 'MN0078';
if year = 1988 and FSCSKEY = 'MN0076' then newkey = 'MN0078';
if year = 1989 and FSCSKEY = 'MN0076' then newkey = 'MN0078';
/* KENYON */
if year = 1987 and FSCSKEY = 'MN0076' then newkey = 'MN0079';
if year = 1988 and FSCSKEY = 'MN0077' then newkey = 'MN0079';
if year = 1989 and FSCSKEY = 'MN0077' then newkey = 'MN0079';
/* LAKE CITY */
if year = 1987 and FSCSKEY = 'MN0077' then newkey = 'MN0081';
if year = 1988 and FSCSKEY = 'MN0079' then newkey = 'MN0081';
if year = 1989 and FSCSKEY = 'MN0079' then newkey = 'MN0081';
/* LANESBORO */
if year = 1987 and FSCSKEY = 'MN0078' then newkey = 'MN0082';
if year = 1988 and FSCSKEY = 'MN0080' then newkey = 'MN0082';
if year = 1989 and FSCSKEY = 'MN0080' then newkey = 'MN0082';
/* LA CRESCENT */
if year = 1988 and FSCSKEY = 'MN0078' then newkey = 'MN0080';
if year = 1989 and FSCSKEY = 'MN0078' then newkey = 'MN0080';
/* MABEL */
if year = 1987 and FSCSKEY = 'MN0079' then newkey = 'MN0083';
if year = 1988 and FSCSKEY = 'MN0081' then newkey = 'MN0083';
if year = 1989 and FSCSKEY = 'MN0081' then newkey = 'MN0083';
/* NORTHFIELD */
if year = 1987 and FSCSKEY = 'MN0080' then newkey = 'MN0084';
if year = 1988 and FSCSKEY = 'MN0082' then newkey = 'MN0084';
if year = 1989 and FSCSKEY = 'MN0082' then newkey = 'MN0084';
/* OWATONNA */
if year = 1987 and FSCSKEY = 'MN0081' then newkey = 'MN0085';
if year = 1988 and FSCSKEY = 'MN0083' then newkey = 'MN0085';
if year = 1989 and FSCSKEY = 'MN0083' then newkey = 'MN0085';
/* PINE ISLAND */
if year = 1987 and FSCSKEY = 'MN0082' then newkey = 'MN0086';
if year = 1988 and FSCSKEY = 'MN0084' then newkey = 'MN0086';
if year = 1989 and FSCSKEY = 'MN0084' then newkey = 'MN0086';
/* PLAINVIEW */
if year = 1987 and FSCSKEY = 'MN0083' then newkey = 'MN0087';
if year = 1988 and FSCSKEY = 'MN0085' then newkey = 'MN0087';
if year = 1989 and FSCSKEY = 'MN0085' then newkey = 'MN0087';
/* PRESTON */
if year = 1987 and FSCSKEY = 'MN0084' then newkey = 'MN0088';
if year = 1988 and FSCSKEY = 'MN0086' then newkey = 'MN0088';
if year = 1989 and FSCSKEY = 'MN0086' then newkey = 'MN0088';
/* RED WING */
if year = 1987 and FSCSKEY = 'MN0085' then newkey = 'MN0089';
if year = 1988 and FSCSKEY = 'MN0087' then newkey = 'MN0089';
if year = 1989 and FSCSKEY = 'MN0087' then newkey = 'MN0089';
/* ROCHESTER */
if year = 1987 and FSCSKEY = 'MN0086' then newkey = 'MN0090';
if year = 1988 and FSCSKEY = 'MN0088' then newkey = 'MN0090';
if year = 1989 and FSCSKEY = 'MN0088' then newkey = 'MN0090';
/* RUSHFORD */
if year = 1987 and FSCSKEY = 'MN0087' then newkey = 'MN0091';
if year = 1988 and FSCSKEY = 'MN0089' then newkey = 'MN0091';
if year = 1989 and FSCSKEY = 'MN0089' then newkey = 'MN0091';
/* ST. CHARLES */
if year = 1987 and FSCSKEY = 'MN0088' then newkey = 'MN0092';
if year = 1988 and FSCSKEY = 'MN0090' then newkey = 'MN0092';
if year = 1989 and FSCSKEY = 'MN0090' then newkey = 'MN0092';
/* SPRING VALLEY */
if year = 1987 and FSCSKEY = 'MN0089' then newkey = 'MN0093';
if year = 1988 and FSCSKEY = 'MN0091' then newkey = 'MN0093';
if year = 1989 and FSCSKEY = 'MN0091' then newkey = 'MN0093';
/* STEWARTVILLE */
if year = 1987 and FSCSKEY = 'MN0090' then newkey = 'MN0094';
if year = 1988 and FSCSKEY = 'MN0092' then newkey = 'MN0094';
if year = 1989 and FSCSKEY = 'MN0092' then newkey = 'MN0094';
/* WABASHA */
if year = 1987 and FSCSKEY = 'MN0091' then newkey = 'MN0095';
if year = 1988 and FSCSKEY = 'MN0093' then newkey = 'MN0095';
if year = 1989 and FSCSKEY = 'MN0093' then newkey = 'MN0095';
/* WEST CONCORD */
if year = 1987 and FSCSKEY = 'MN0092' then newkey = 'MN0096';
if year = 1988 and FSCSKEY = 'MN0094' then newkey = 'MN0096';
if year = 1989 and FSCSKEY = 'MN0094' then newkey = 'MN0096';
/* WINONA */
if year = 1987 and FSCSKEY = 'MN0093' then newkey = 'MN0097';
if year = 1988 and FSCSKEY = 'MN0095' then newkey = 'MN0097';
if year = 1989 and FSCSKEY = 'MN0095' then newkey = 'MN0097';
/* ZUMBROTA */
if year = 1987 and FSCSKEY = 'MN0094' then newkey = 'MN0098';
if year = 1988 and FSCSKEY = 'MN0096' then newkey = 'MN0098';
if year = 1989 and FSCSKEY = 'MN0096' then newkey = 'MN0098';
/* COMFREY */
if year = 1987 and FSCSKEY = 'MN0095' then newkey = 'MN0099';
if year = 1988 and FSCSKEY = 'MN0097' then newkey = 'MN0099';
if year = 1989 and FSCSKEY = 'MN0097' then newkey = 'MN0099';
/* HANSKA */
if year = 1987 and FSCSKEY = 'MN0096' then newkey = 'MN0100';
if year = 1988 and FSCSKEY = 'MN0098' then newkey = 'MN0100';
if year = 1989 and FSCSKEY = 'MN0098' then newkey = 'MN0100';
/* NEW ULM */
if year = 1987 and FSCSKEY = 'MN0097' then newkey = 'MN0101';
if year = 1988 and FSCSKEY = 'MN0099' then newkey = 'MN0101';
if year = 1989 and FSCSKEY = 'MN0099' then newkey = 'MN0101';
/* SLEEPY EYE */
if year = 1987 and FSCSKEY = 'MN0098' then newkey = 'MN0102';
if year = 1988 and FSCSKEY = 'MN0100' then newkey = 'MN0102';
if year = 1989 and FSCSKEY = 'MN0100' then newkey = 'MN0102';
/* SPRINGFIELD */
if year = 1987 and FSCSKEY = 'MN0099' then newkey = 'MN0103';
if year = 1988 and FSCSKEY = 'MN0101' then newkey = 'MN0103';
if year = 1989 and FSCSKEY = 'MN0101' then newkey = 'MN0103';
/* BLUE EARTH (FARIBAULT COUNTY) */
if year = 1987 and FSCSKEY = 'MN0100' then newkey = 'MN0104';
if year = 1988 and FSCSKEY = 'MN0102' then newkey = 'MN0104';
if year = 1989 and FSCSKEY = 'MN0102' then newkey = 'MN0104';
/* FAIRMONT */
if year = 1987 and FSCSKEY = 'MN0101' then newkey = 'MN0105';
if year = 1988 and FSCSKEY = 'MN0103' then newkey = 'MN0105';
if year = 1989 and FSCSKEY = 'MN0103' then newkey = 'MN0105';
/* MANKATO */
if year = 1987 and FSCSKEY = 'MN0102' then newkey = 'MN0106';
if year = 1988 and FSCSKEY = 'MN0104' then newkey = 'MN0106';
if year = 1989 and FSCSKEY = 'MN0104' then newkey = 'MN0106';
/* WASECA */
if year = 1987 and FSCSKEY = 'MN0103' then newkey = 'MN0107';
if year = 1988 and FSCSKEY = 'MN0105' then newkey = 'MN0107';
if year = 1989 and FSCSKEY = 'MN0105' then newkey = 'MN0107';
/* ST. JAMES */
if year = 1987 and FSCSKEY = 'MN0104' then newkey = 'MN0108';
if year = 1988 and FSCSKEY = 'MN0106' then newkey = 'MN0108';
if year = 1989 and FSCSKEY = 'MN0106' then newkey = 'MN0108';
/* FERGUS FALLS (VIKING LIBRARY SYSTEM) */
if year = 1987 and FSCSKEY = 'MN0105' then newkey = 'MN0109';
if year = 1988 and FSCSKEY = 'MN0107' then newkey = 'MN0109';
if year = 1989 and FSCSKEY = 'MN0107' then newkey = 'MN0109';
/* ALEXANDRIA */
if year = 1987 and FSCSKEY = 'MN0106' then newkey = 'MN0137';
if year = 1988 and FSCSKEY = 'MN0108' then newkey = 'MN0137';
if year = 1989 and FSCSKEY = 'MN0108' then newkey = 'MN0137';
if year = 1990 and FSCSKEY = 'MN0110' then newkey = 'MN0137';
if year = 1991 and FSCSKEY = 'MN0110' then newkey = 'MN0137';
/* BROWNS VALLEY */
if year = 1987 and FSCSKEY = 'MN0107' then newkey = 'MN0111';
if year = 1988 and FSCSKEY = 'MN0109' then newkey = 'MN0111';
if year = 1989 and FSCSKEY = 'MN0109' then newkey = 'MN0111';
/* ELBOW LAKE */
if year = 1987 and FSCSKEY = 'MN0108' then newkey = 'MN0112';
if year = 1988 and FSCSKEY = 'MN0110' then newkey = 'MN0112';
if year = 1989 and FSCSKEY = 'MN0110' then newkey = 'MN0112';
/* FERGUS FALLS (PUBLIC LIBRARY SYSTEM) */
if year = 1987 and FSCSKEY = 'MN0109' then newkey = 'MN0113';
if year = 1988 and FSCSKEY = 'MN0111' then newkey = 'MN0113';
if year = 1989 and FSCSKEY = 'MN0111' then newkey = 'MN0113';
/* GLENWOOD */
if year = 1987 and FSCSKEY = 'MN0110' then newkey = 'MN0114';
if year = 1988 and FSCSKEY = 'MN0112' then newkey = 'MN0114';
if year = 1989 and FSCSKEY = 'MN0112' then newkey = 'MN0114';
/* HANCOCK */
if year = 1987 and FSCSKEY = 'MN0111' then newkey = 'MN0115';
if year = 1988 and FSCSKEY = 'MN0113' then newkey = 'MN0115';
if year = 1989 and FSCSKEY = 'MN0113' then newkey = 'MN0115';
/* MORRIS */
if year = 1987 and FSCSKEY = 'MN0112' then newkey = 'MN0116';
if year = 1988 and FSCSKEY = 'MN0114' then newkey = 'MN0116';
if year = 1989 and FSCSKEY = 'MN0114' then newkey = 'MN0116';
/* NEW YORK MILLS */
if year = 1987 and FSCSKEY = 'MN0113' then newkey = 'MN0117';
if year = 1988 and FSCSKEY = 'MN0115' then newkey = 'MN0117';
if year = 1989 and FSCSKEY = 'MN0115' then newkey = 'MN0117';
/* PERHAM */
if year = 1987 and FSCSKEY = 'MN0114' then newkey = 'MN0119';
if year = 1988 and FSCSKEY = 'MN0116' then newkey = 'MN0119';
if year = 1989 and FSCSKEY = 'MN0116' then newkey = 'MN0119';
/* WHEATON */
if year = 1987 and FSCSKEY = 'MN0115' then newkey = 'MN0120';
if year = 1988 and FSCSKEY = 'MN0117' then newkey = 'MN0120';
if year = 1989 and FSCSKEY = 'MN0117' then newkey = 'MN0120';
/* CANBY */
if year = 1987 and FSCSKEY = 'MN0116' then newkey = 'MN0121';
if year = 1988 and FSCSKEY = 'MN0118' then newkey = 'MN0121';
if year = 1989 and FSCSKEY = 'MN0118' then newkey = 'MN0121';
/* CROSBY */
if year = 1987 and FSCSKEY = 'MN0117' then newkey = 'MN0133';
/* EAST GRAND FORKS */
if year = 1987 and FSCSKEY = 'MN0118' then newkey = 'MN0122';
if year = 1988 and FSCSKEY = 'MN0119' then newkey = 'MN0122';
if year = 1989 and FSCSKEY = 'MN0119' then newkey = 'MN0122';
/* PELICAN RAPIDS */
if year = 1989 and FSCSKEY = 'MN0134' then newkey = 'MN0118';
/* GRANITE FALLS */
if year = 1987 and FSCSKEY = 'MN0119' then newkey = 'MN9975';
if year = 1988 and FSCSKEY = 'MN0120' then newkey = 'MN9975';
/* IRONTON */
if year = 1987 and FSCSKEY = 'MN0120' then newkey = 'MN0123';
if year = 1988 and FSCSKEY = 'MN0121' then newkey = 'MN0123';`
if year = 1989 and FSCSKEY = 'MN0121' then newkey = 'MN0123';
/* LAMBERTON */
if year = 1987 and FSCSKEY = 'MN0122' then newkey = 'MN0124';
if year = 1988 and FSCSKEY = 'MN0123' then newkey = 'MN0124';
if year = 1989 and FSCSKEY = 'MN0123' then newkey = 'MN0124';
/* MINNEOTA */
if year = 1987 and FSCSKEY = 'MN0124' then newkey = 'MN0126';
if year = 1988 and FSCSKEY = 'MN0125' then newkey = 'MN0126';
if year = 1989 and FSCSKEY = 'MN0125' then newkey = 'MN0126';
/* MAHNOMEN */
if year = 1987 and FSCSKEY = 'MN0123' then newkey = 'MN0134';
if year = 1988 and FSCSKEY = 'MN0124' then newkey = 'MN0134';
if year = 1989 and FSCSKEY = 'MN0124' then newkey = 'MN0134';
if year = 1990 and FSCSKEY = 'MN0125' then newkey = 'MN0134';
/* OLIVIA */
if year = 1987 and FSCSKEY = 'MN0126' then newkey = 'MN9976';
if year = 1988 and FSCSKEY = 'MN0126' then newkey = 'MN9976';
if year = 1989 and FSCSKEY = 'MN0126' then newkey = 'MN9976';
/* PARK RAPIDS */
if year = 1987 and FSCSKEY = 'MN0127' then newkey = 'MN9977';
if year = 1988 and FSCSKEY = 'MN0127' then newkey = 'MN9977';
if year = 1989 and FSCSKEY = 'MN0127' then newkey = 'MN9977';
/* PAYNESVILLE */
if year = 1987 and FSCSKEY = 'MN0128' then newkey = 'MN0127';
if year = 1988 and FSCSKEY = 'MN0128' then newkey = 'MN0127';
if year = 1989 and FSCSKEY = 'MN0128' then newkey = 'MN0127';
/* STAPLES */
if year = 1987 and FSCSKEY = 'MN0130' then newkey = 'MN0128';
if year = 1988 and FSCSKEY = 'MN0130' then newkey = 'MN0128';
if year = 1989 and FSCSKEY = 'MN0130' then newkey = 'MN0128';
/* SAUK CENTRE */
if year = 1987 and FSCSKEY = 'MN0129' then newkey = 'MN9978';
if year = 1988 and FSCSKEY = 'MN0129' then newkey = 'MN9978';
if year = 1989 and FSCSKEY = 'MN0129' then newkey = 'MN9978';
/* TAYLORS FALLS */
if year = 1987 and FSCSKEY = 'MN0131' then newkey = 'MN0129';
if year = 1988 and FSCSKEY = 'MN0131' then newkey = 'MN0129';
if year = 1989 and FSCSKEY = 'MN0131' then newkey = 'MN0129';
/* TRACY */
if year = 1987 and FSCSKEY = 'MN0132' then newkey = 'MN0130';
if year = 1988 and FSCSKEY = 'MN0132' then newkey = 'MN0130';
if year = 1989 and FSCSKEY = 'MN0132' then newkey = 'MN0130';
December 16, 2022