Schedule of Changes to New York newkeys

These libraries are in order by FSCSKEY.

There were two instances of data for Elmira (newkey=NY0765) in 1988 one of which, pretty clearly, was wrong and it was deleted in the code included here. See FSCSKEY NY0101 and NY0100 in this file.

New York Public Library is in three places. For 1987 and 1988, the "Branch Library" is at newkey=NY0387 and the "Research Library" is at newkey=NY0388. The newkeys are close to the FSCSKEYS here but easier to specify exactly because of changes that had to be made. For 1989+, "New York Public Library" is at NY0788. From a cursory look at the data, it may well be that the 1989+ data are the sum of the "Branch" and "Research" libraries so that a series can be constructed for all of NYPL years by manipulating these data appropriately.


/* CORNING           */
if year = 1987 and FSCSKEY = 'NY0065' then newkey = 'NY0064';

/* ALMOND            */
if year = 1987 and FSCSKEY = 'NY0066' then newkey = 'NY0065';

/* ANDOVER           */
if year = 1987 and FSCSKEY = 'NY0067' then newkey = 'NY0066';

/* ANGELICA          */
if year = 1987 and FSCSKEY = 'NY0068' then newkey = 'NY0067';

/* BELFAST           */
if year = 1987 and FSCSKEY = 'NY0069' then newkey = 'NY0068';

/* BELMONT           */
if year = 1987 and FSCSKEY = 'NY0070' then newkey = 'NY0069';

/* BOLIVAR           */
if year = 1987 and FSCSKEY = 'NY0071' then newkey = 'NY0070';

/* CANASERAGA        */
if year = 1987 and FSCSKEY = 'NY0072' then newkey = 'NY0071';

/* CUBA              */
if year = 1987 and FSCSKEY = 'NY0073' then newkey = 'NY0072';

/* FILLMORE          */
if year = 1987 and FSCSKEY = 'NY0074' then newkey = 'NY0073';

/* FRIENDSHIP        */
if year = 1987 and FSCSKEY = 'NY0075' then newkey = 'NY0074';

/* LITTLE GENESEE    */
if year = 1987 and FSCSKEY = 'NY0076' then newkey = 'NY0075';

/* RICHBURG          */
if year = 1987 and FSCSKEY = 'NY0077' then newkey = 'NY0076';

/* RUSHFORD          */
if year = 1987 and FSCSKEY = 'NY0078' then newkey = 'NY0077';

/* SCIO              */
if year = 1987 and FSCSKEY = 'NY0079' then newkey = 'NY0078';

/* WELLSVILLE        */
if year = 1987 and FSCSKEY = 'NY0080' then newkey = 'NY0079';

/* WHITESVILLE       */
if year = 1987 and FSCSKEY = 'NY0081' then newkey = 'NY0080';

/* ODESSA            */
if year = 1987 and FSCSKEY = 'NY0082' then newkey = 'NY0081';

/* WATKINS GLEN      */
if year = 1987 and FSCSKEY = 'NY0083' then newkey = 'NY0082';

/* ADDISON           */
if year = 1987 and FSCSKEY = 'NY0084' then newkey = 'NY0083';

/* ATLANTA           */
if year = 1987 and FSCSKEY = 'NY0085' then newkey = 'NY0084';

/* AVOCA             */
if year = 1987 and FSCSKEY = 'NY0086' then newkey = 'NY0085';

/* BATH              */
if year = 1987 and FSCSKEY = 'NY0087' then newkey = 'NY0086';

/* CANISTEO          */
if year = 1987 and FSCSKEY = 'NY0088' then newkey = 'NY0087';

/* CORNING           */
if year = 1987 and FSCSKEY = 'NY0089' then newkey = 'NY0088';

/* HAMMONDSPORT      */
if year = 1987 and FSCSKEY = 'NY0090' then newkey = 'NY0089';

/* HORNELL PL        */
if year = 1987 and FSCSKEY = 'NY0091' then newkey = 'NY0090';

/* HORNELL (HOWARD PL) */
if year = 1987 and FSCSKEY = 'NY0092' then newkey = 'NY0091';

/* JASPER            */
if year = 1987 and FSCSKEY = 'NY0093' then newkey = 'NY0092';

/* PRATTSBURG        */
if year = 1987 and FSCSKEY = 'NY0094' then newkey = 'NY0093';
/* PRATTSBURG OR PRATTSBURGH? */

/* PULTENEY          */
if year = 1987 and FSCSKEY = 'NY0095' then newkey = 'NY0094';

/* SAVONA            */
if year = 1987 and FSCSKEY = 'NY0096' then newkey = 'NY0095';

/* WAYLAND           */
if year = 1987 and FSCSKEY = 'NY0097' then newkey = 'NY0096';

/* BRANCHPORT        */
if year = 1987 and FSCSKEY = 'NY0098' then newkey = 'NY0097';

/* DUNDEE            */
if year = 1987 and FSCSKEY = 'NY0099' then newkey = 'NY0098';

/* PENN YAN          */
if year = 1987 and FSCSKEY = 'NY0100' then newkey = 'NY0099';

/* ELMIRA            */
if year = 1987 and FSCSKEY = 'NY0101' then newkey = 'NY0765';
if year = 1988 and FSCSKEY = 'NY0100' then delete;
if year = 1988 and FSCSKEY = 'NY0101' then newkey = 'NY0765';
if year = 1989 and FSCSKEY = 'NY0101' then newkey = 'NY0765';
if year = 1990 and FSCSKEY = 'NY0101' then newkey = 'NY0765';

/* HORSEHEADS        */
if year = 1987 and FSCSKEY = 'NY0103' then newkey = 'NY0102';

/* PLATTSBURGH (CLINTON-ESSEX-FRANKLIN) */
if year = 1987 and FSCSKEY = 'NY0104' then newkey = 'NY0103';

/* CHAMPLAIN         */
if year = 1987 and FSCSKEY = 'NY0105' then newkey = 'NY0104';

/* CHAZY             */
if year = 1987 and FSCSKEY = 'NY0106' then newkey = 'NY0105';

/* DANNEMORA         */
if year = 1987 and FSCSKEY = 'NY0107' then newkey = 'NY0106';

/* MOOERS            */
if year = 1987 and FSCSKEY = 'NY0108' then newkey = 'NY0107';

/* PERU              */
if year = 1987 and FSCSKEY = 'NY0109' then newkey = 'NY0108';

/* PLATTSBURGH PL    */
if year = 1987 and FSCSKEY = 'NY0110' then newkey = 'NY0109';

/* ROUSES POINT      */
if year = 1987 and FSCSKEY = 'NY0111' then newkey = 'NY0110';

/* WEST CHAZY        */
if year = 1987 and FSCSKEY = 'NY0112' then newkey = 'NY0111';

/* AUSABLE FORKS     */
if year = 1987 and FSCSKEY = 'NY0113' then newkey = 'NY0112';

/* CROWN POINT       */
if year = 1987 and FSCSKEY = 'NY0114' then newkey = 'NY0113';

/* ELIZABETHTOWN     */
if year = 1987 and FSCSKEY = 'NY0115' then newkey = 'NY0114';

/* ESSEX             */
if year = 1987 and FSCSKEY = 'NY0116' then newkey = 'NY0115';

/* KEENE             */
if year = 1987 and FSCSKEY = 'NY0117' then newkey = 'NY0116';

/* KEENE VALLEY      */
if year = 1987 and FSCSKEY = 'NY0118' then newkey = 'NY0117';

/* KEESEVILLE        */
if year = 1987 and FSCSKEY = 'NY0119' then newkey = 'NY0118';

/* LAKE PLACID       */
if year = 1987 and FSCSKEY = 'NY0120' then newkey = 'NY0119';

/* PORTY HENRY       */
if year = 1987 and FSCSKEY = 'NY0121' then newkey = 'NY0120';

/* SCHROON LAKE      */
if year = 1987 and FSCSKEY = 'NY0122' then newkey = 'NY0121';

/* TICONDEROGA       */
if year = 1987 and FSCSKEY = 'NY0123' then newkey = 'NY0122';

/* UPPER JAY         */
if year = 1987 and FSCSKEY = 'NY0124' then newkey = 'NY0123';

/* WADHAMS           */
if year = 1987 and FSCSKEY = 'NY0125' then newkey = 'NY0124';

/* WESTPORT          */
if year = 1987 and FSCSKEY = 'NY0126' then newkey = 'NY0125';

/* WILLSBORO         */
if year = 1987 and FSCSKEY = 'NY0127' then newkey = 'NY0126';

/* WILMINGTON        */
if year = 1987 and FSCSKEY = 'NY0128' then newkey = 'NY0127';

/* CHATEAUGAY        */
if year = 1987 and FSCSKEY = 'NY0129' then newkey = 'NY0128';

/* HOGANSBURG        */
if year = 1987 and FSCSKEY = 'NY0130' then newkey = 'NY0129';

/* MALONE            */
if year = 1987 and FSCSKEY = 'NY0131' then newkey = 'NY0130';

/* SARANAC LAKE      */
if year = 1987 and FSCSKEY = 'NY0132' then newkey = 'NY0131';

/* TUPPER LAKE       */
if year = 1987 and FSCSKEY = 'NY0133' then newkey = 'NY0132';

/* ITHACA (FINGER LAKES) */
if year = 1987 and FSCSKEY = 'NY0134' then newkey = 'NY0133';

/* AUBURN            */
if year = 1987 and FSCSKEY = 'NY0135' then newkey = 'NY0134';

/* AURORA            */
if year = 1987 and FSCSKEY = 'NY0136' then newkey = 'NY0135';

/* CATO              */
if year = 1987 and FSCSKEY = 'NY0137' then newkey = 'NY0136';

/* FAIR HAVEN        */
if year = 1987 and FSCSKEY = 'NY0138' then newkey = 'NY0137';

/* MORAVIA           */
if year = 1987 and FSCSKEY = 'NY0139' then newkey = 'NY0138';

/* POPLAR RIDGE      */
if year = 1987 and FSCSKEY = 'NY0140' then newkey = 'NY0139';

/* UNION SPRINGS     */
if year = 1987 and FSCSKEY = 'NY0141' then newkey = 'NY0140';

/* WEEDSPORT         */
if year = 1987 and FSCSKEY = 'NY0142' then newkey = 'NY0141';

/* CINCINNATUS       */
if year = 1987 and FSCSKEY = 'NY0143' then newkey = 'NY0142';

/* CORTLAND          */
if year = 1987 and FSCSKEY = 'NY0144' then newkey = 'NY0143';

/* HOMER             */
if year = 1987 and FSCSKEY = 'NY0145' then newkey = 'NY0144';

/* McGRAW            */
if year = 1987 and FSCSKEY = 'NY0146' then newkey = 'NY0145';

/* MARATHON          */
if year = 1987 and FSCSKEY = 'NY0147' then newkey = 'NY0146';

/* INTERLAKEN        */
if year = 1987 and FSCSKEY = 'NY0148' then newkey = 'NY0147';

/* LODI             */
if year = 1987 and FSCSKEY = 'NY0149' then newkey = 'NY0148';

/* OVID             */
if year = 1987 and FSCSKEY = 'NY0150' then newkey = 'NY0149';

/* SENECA FALLS     */
if year = 1987 and FSCSKEY = 'NY0151' then newkey = 'NY0150';

/* WATERLOO         */
if year = 1987 and FSCSKEY = 'NY0152' then newkey = 'NY0151';

/* BERKSHIRE        */
if year = 1987 and FSCSKEY = 'NY0153' then newkey = 'NY0152';

/* CANDOR           */
if year = 1987 and FSCSKEY = 'NY0154' then newkey = 'NY0153';

/* NEWARK VALLEY    */
if year = 1987 and FSCSKEY = 'NY0155' then newkey = 'NY0154';

/* NICHOLS          */
if year = 1987 and FSCSKEY = 'NY0156' then newkey = 'NY0155';

/* OWEGO            */
if year = 1987 and FSCSKEY = 'NY0157' then newkey = 'NY0156';

/* SPENCER          */
if year = 1987 and FSCSKEY = 'NY0158' then newkey = 'NY0157';

/* WAVERLY          */
if year = 1987 and FSCSKEY = 'NY0159' then newkey = 'NY0158';

/* GROTON           */
if year = 1987 and FSCSKEY = 'NY0160' then newkey = 'NY0159';

/* ITHACA (TOMPKINS) */
if year = 1987 and FSCSKEY = 'NY0161' then newkey = 'NY0160';

/* NEWFIELD         */
if year = 1987 and FSCSKEY = 'NY0162' then newkey = 'NY0161';

/* TRUMANSBURG      */
if year = 1987 and FSCSKEY = 'NY0163' then newkey = 'NY0162';

/* VESTAL (FOUR COUNTY) */
if year = 1987 and FSCSKEY = 'NY0164' then newkey = 'NY0163';

/* BINGHAMTON (BROOME COUNTY PL) */
if year = 1987 and FSCSKEY = 'NY0165' then newkey = 'NY0164';

/* DEPOSIT          */
if year = 1987 and FSCSKEY = 'NY0166' then newkey = 'NY0165';

/* ENDICOTT         */
if year = 1987 and FSCSKEY = 'NY0167' then newkey = 'NY0166';

/* BINGHAMTON (FENTON) */
if year = 1987 and FSCSKEY = 'NY0168' then newkey = 'NY0167';

/* JOHNSON CITY     */
if year = 1987 and FSCSKEY = 'NY0169' then newkey = 'NY0168';

/* LISLE            */
if year = 1987 and FSCSKEY = 'NY0170' then newkey = 'NY0169';

/* NINEVEH          */
if year = 1987 and FSCSKEY = 'NY0171' then newkey = 'NY0170';

/* VESTAL PL        */
if year = 1987 and FSCSKEY = 'NY0172' then newkey = 'NY0171';

/* WHITNEY POINT    */
if year = 1987 and FSCSKEY = 'NY0173' then newkey = 'NY0172';

/* AFTON            */
if year = 1987 and FSCSKEY = 'NY0174' then newkey = 'NY0173';

/* BAINBRIDGE       */
if year = 1987 and FSCSKEY = 'NY0175' then newkey = 'NY0174';

/* GREENE           */
if year = 1987 and FSCSKEY = 'NY0176' then newkey = 'NY0175';

/* NEW BERLIN       */
if year = 1987 and FSCSKEY = 'NY0177' then newkey = 'NY0176';

/* NORWICH          */
if year = 1987 and FSCSKEY = 'NY0178' then newkey = 'NY0177';

/* OXFORD           */
if year = 1987 and FSCSKEY = 'NY0179' then newkey = 'NY0178';

/* SHERBURNE        */
if year = 1987 and FSCSKEY = 'NY0180' then newkey = 'NY0179';

/* SMYRNA           */
if year = 1987 and FSCSKEY = 'NY0181' then newkey = 'NY0180';

/* SOUTH NEW BERLIN */
if year = 1987 and FSCSKEY = 'NY0182' then newkey = 'NY0181';

/* ANDES            */
if year = 1987 and FSCSKEY = 'NY0183' then newkey = 'NY0182';

/* ARKVILLE (MARGARETVILLE) */
if year = 1987 and FSCSKEY = 'NY0184' then newkey = 'NY0183';

/* BOVINA CENTER    */
if year = 1987 and FSCSKEY = 'NY0185' then newkey = 'NY0184';

/* DELHI            */
if year = 1987 and FSCSKEY = 'NY0186' then newkey = 'NY0185';

/* FLEISCHMANNS     */
if year = 1987 and FSCSKEY = 'NY0187' then newkey = 'NY0186';

/* FRANKLIN         */
if year = 1987 and FSCSKEY = 'NY0188' then newkey = 'NY0187';

/* HANCOCK          */
if year = 1987 and FSCSKEY = 'NY0189' then newkey = 'NY0188';


/* ROXBURY          */
if year = 1987 and FSCSKEY = 'NY0190' then newkey = 'NY0189';

/* SIDNEY           */
if year = 1987 and FSCSKEY = 'NY0191' then newkey = 'NY0190';

/* STAMFORD         */
if year = 1987 and FSCSKEY = 'NY0192' then newkey = 'NY0191';

/* WALTON           */
if year = 1987 and FSCSKEY = 'NY0193' then newkey = 'NY0192';

/* CHERRY VALLEY    */
if year = 1987 and FSCSKEY = 'NY0194' then newkey = 'NY0193';

/* COOPERSTOWN      */
if year = 1987 and FSCSKEY = 'NY0195' then newkey = 'NY0194';

/* EAST SPRINGFIELD */
if year = 1987 and FSCSKEY = 'NY0196' then newkey = 'NY0195';

/* EDMESTON         */
if year = 1987 and FSCSKEY = 'NY0197' then newkey = 'NY0196';

/* GILBERTSVILLE    */
if year = 1987 and FSCSKEY = 'NY0198' then newkey = 'NY0197';

/* HARTWICK         */
if year = 1987 and FSCSKEY = 'NY0199' then newkey = 'NY0198';

/* MILFORD          */
if year = 1987 and FSCSKEY = 'NY0200' then newkey = 'NY0199';

/* MORRIS           */
if year = 1987 and FSCSKEY = 'NY0201' then newkey = 'NY0200';

/* ONEONTA          */
if year = 1987 and FSCSKEY = 'NY0202' then newkey = 'NY0201';

/* OTEGO            */
if year = 1987 and FSCSKEY = 'NY0203' then newkey = 'NY0202';

/* RICHFIELD SPRINGS  */
if year = 1987 and FSCSKEY = 'NY0204' then newkey = 'NY0203';

/* SPRINGFIELD CENTER */
if year = 1987 and FSCSKEY = 'NY0205' then newkey = 'NY0204';

/* UNADILLA         */
if year = 1987 and FSCSKEY = 'NY0206' then newkey = 'NY0205';

/* WORCESTER        */
if year = 1987 and FSCSKEY = 'NY0207' then newkey = 'NY0206';

/* POUGHKEEPSIE (MID-HUDSON) */
/* 103 Market Street         */
if year = 1987 and FSCSKEY = 'NY0208' then newkey = 'NY0207';

/* CHATHAM          */
if year = 1987 and FSCSKEY = 'NY0209' then newkey = 'NY0208';

/* CLAVERACK        */
if year = 1987 and FSCSKEY = 'NY0210' then newkey = 'NY0780';
if year = 1988 and FSCSKEY = 'NY0209' then newkey = 'NY0780';
if year = 1989 and FSCSKEY = 'NY0209' then newkey = 'NY0780';
if year = 1990 and FSCSKEY = 'NY0209' then newkey = 'NY0780';
if year = 1991 and FSCSKEY = 'NY0209' then newkey = 'NY0780';
if year = 1992 and FSCSKEY = 'NY0209' then newkey = 'NY0780';
if year = 1993 and FSCSKEY = 'NY0209' then newkey = 'NY0780';
if year = 1994 and FSCSKEY = 'NY0209' then newkey = 'NY0780';
if year = 1995 and FSCSKEY = 'NY0209' then newkey = 'NY0780';

/* GERMANTOWN       */
if year = 1987 and FSCSKEY = 'NY0211' then newkey = 'NY0210';

/* HILLSDALE        */
if year = 1987 and FSCSKEY = 'NY0212' then newkey = 'NY0211';

/* HUDSON           */
if year = 1987 and FSCSKEY = 'NY0213' then newkey = 'NY0212';

/* KINDERHOOK       */
if year = 1987 and FSCSKEY = 'NY0214' then newkey = 'NY0213';

/* LIVINGSTON       */
if year = 1987 and FSCSKEY = 'NY0215' then newkey = 'NY0214';

/* NEW LEBANON      */
if year = 1987 and FSCSKEY = 'NY0216' then newkey = 'NY0215';

/* NORTH CHATAM     */
if year = 1987 and FSCSKEY = 'NY0217' then newkey = 'NY0216';

/* PHILMONT         */
if year = 1987 and FSCSKEY = 'NY0218' then newkey = 'NY0217';

/* VALATIE          */
if year = 1987 and FSCSKEY = 'NY0219' then newkey = 'NY0218';

/* AMENIA           */
if year = 1987 and FSCSKEY = 'NY0220' then newkey = 'NY0219';

/* BEACON           */
if year = 1987 and FSCSKEY = 'NY0221' then newkey = 'NY0220';

/* DOVER PLAINS     */
if year = 1987 and FSCSKEY = 'NY0222' then newkey = 'NY0221';

/* HOPEWELL JUNCTION */
if year = 1987 and FSCSKEY = 'NY0223' then newkey = 'NY0222';

/* FISHKILL          */
if year = 1987 and FSCSKEY = 'NY0224' then newkey = 'NY0223';

/* HYDE PARK         */
if year = 1987 and FSCSKEY = 'NY0225' then newkey = 'NY0224';

/* LA GRANGEVILLE    */
/* 122 Stringham Road in 1987. 1988+, moved? to Poughkeepsie */
/* at a new street address but data look OK.                 */
if year = 1987 and FSCSKEY = 'NY0226' then newkey = 'NY0231';

/* MILLBROOK         */
if year = 1987 and FSCSKEY = 'NY0227' then newkey = 'NY0225';

/* MILLERTON         */
if year = 1987 and FSCSKEY = 'NY0228' then newkey = 'NY0226';

/* PAWLING           */
if year = 1987 and FSCSKEY = 'NY0229' then newkey = 'NY0227';

/* PINE PLAINS       */
if year = 1987 and FSCSKEY = 'NY0230' then newkey = 'NY0228';

/* PLEASANT VALLEY   */
if year = 1987 and FSCSKEY = 'NY0231' then newkey = 'NY0229';

/* POUGHKEEPSIE (GREAT POUGHKEEPSIE LIBRARY DISTRICT) */
/* 93 Market Street--Adriance Memorial Library        */
if year = 1987 and FSCSKEY = 'NY0232' then newkey = 'NY0230';

/* POUGHQUAG         */
if year = 1987 and FSCSKEY = 'NY0233' then newkey = 'NY0232';

/* RED HOOK          */
if year = 1987 and FSCSKEY = 'NY0234' then newkey = 'NY0233';

/* RHINEBECK         */
if year = 1987 and FSCSKEY = 'NY0235' then newkey = 'NY0234';

/* RHINECLIFF        */
if year = 1987 and FSCSKEY = 'NY0236' then newkey = 'NY0235';

/* STAATSBURG        */
if year = 1987 and FSCSKEY = 'NY0237' then newkey = 'NY0236';

/* STANFORDVILLE     */
if year = 1987 and FSCSKEY = 'NY0238' then newkey = 'NY0237';

/* TIVOLI            */
if year = 1987 and FSCSKEY = 'NY0239' then newkey = 'NY0238';

/* WAPPINGERS FALLS  */
if year = 1987 and FSCSKEY = 'NY0240' then newkey = 'NY0239';

/* ATHENS            */
if year = 1987 and FSCSKEY = 'NY0241' then newkey = 'NY0240';

/* CAIRO             */
if year = 1987 and FSCSKEY = 'NY0242' then newkey = 'NY0241';

/* CATSKILL          */
if year = 1987 and FSCSKEY = 'NY0243' then newkey = 'NY0242';

/* COXSACKIE         */
if year = 1987 and FSCSKEY = 'NY0244' then newkey = 'NY0243';

/* GREENVILLE        */
if year = 1987 and FSCSKEY = 'NY0245' then newkey = 'NY0244';

/* HAINES FALLS      */
if year = 1987 and FSCSKEY = 'NY0246' then newkey = 'NY0245';

/* HUNTER            */
if year = 1987 and FSCSKEY = 'NY0247' then newkey = 'NY0246';

/* WINDHAM           */
if year = 1987 and FSCSKEY = 'NY0248' then newkey = 'NY0247';

/* BREWSTER          */
if year = 1987 and FSCSKEY = 'NY0249' then newkey = 'NY0248';

/* CARMEL (LITERARY UNION) */
if year = 1987 and FSCSKEY = 'NY0250' then newkey = 'NY0249';

/* COLD SPRING       */
if year = 1987 and FSCSKEY = 'NY0251' then newkey = 'NY0250';

/* GARRISON          */
if year = 1987 and FSCSKEY = 'NY0252' then newkey = 'NY0251';

/* GARRISON          */
if year = 1987 and FSCSKEY = 'NY0252' then newkey = 'NY0251';

/* CARMEL (KENT PUBLIC LIBRARY) */
if year = 1987 and FSCSKEY = 'NY0253' then newkey = 'NY0252';

/* MAHOPAC           */
if year = 1987 and FSCSKEY = 'NY0254' then newkey = 'NY0781';
if year = 1988 and FSCSKEY = 'NY0253' then newkey = 'NY0781';
if year = 1989 and FSCSKEY = 'NY0253' then newkey = 'NY0781';
if year = 1990 and FSCSKEY = 'NY0253' then newkey = 'NY0781';
if year = 1991 and FSCSKEY = 'NY0253' then newkey = 'NY0781';
if year = 1992 and FSCSKEY = 'NY0253' then newkey = 'NY0781';
if year = 1993 and FSCSKEY = 'NY0253' then newkey = 'NY0781';
if year = 1994 and FSCSKEY = 'NY0253' then newkey = 'NY0781';
if year = 1995 and FSCSKEY = 'NY0253' then newkey = 'NY0781';

/* PATTERSON         */
if year = 1987 and FSCSKEY = 'NY0255' then newkey = 'NY0254';

/* PUTNAM VALLEY     */
if year = 1987 and FSCSKEY = 'NY0256' then newkey = 'NY0255';

/* HIGHLAND          */
if year = 1987 and FSCSKEY = 'NY0257' then newkey = 'NY0256';

/* HURLEY            */
if year = 1987 and FSCSKEY = 'NY0258' then newkey = 'NY0257';

/* KINGSTON (AREA LIBRARY) */
if year = 1987 and FSCSKEY = 'NY0259' then newkey = 'NY0258';

/* KINGSTON (TOWN OF ULSTER LIBRARY) */
if year = 1987 and FSCSKEY = 'NY0260' then newkey = 'NY0259';

/* MARLBORO          */
if year = 1987 and FSCSKEY = 'NY0261' then newkey = 'NY0260';

/* MILTON            */
if year = 1987 and FSCSKEY = 'NY0262' then newkey = 'NY0261';

/* MODENA            */
if year = 1987 and FSCSKEY = 'NY0263' then newkey = 'NY0262';

/* NEW PALTZ         */
if year = 1987 and FSCSKEY = 'NY0264' then newkey = 'NY0263';

/* PHOENICIA         */
if year = 1987 and FSCSKEY = 'NY0265' then newkey = 'NY0264';

/* PINE HILL         */
if year = 1987 and FSCSKEY = 'NY0266' then newkey = 'NY0265';

/* PORT EWEN         */
if year = 1987 and FSCSKEY = 'NY0267' then newkey = 'NY0266';

/* ROSENDALE         */
if year = 1987 and FSCSKEY = 'NY0268' then newkey = 'NY0267';

/* SAUGERTIES        */
if year = 1987 and FSCSKEY = 'NY0269' then newkey = 'NY0268';

/* STONE RIDGE       */
if year = 1987 and FSCSKEY = 'NY0270' then newkey = 'NY0269';

/* WEST HURLEY       */
if year = 1987 and FSCSKEY = 'NY0271' then newkey = 'NY0270';

/* WEST SHOKAN       */
if year = 1987 and FSCSKEY = 'NY0272' then newkey = 'NY0271';

/* WOODSTOCK         */
if year = 1987 and FSCSKEY = 'NY0273' then newkey = 'NY0272';

/* UTICA (MID YORK)  */
if year = 1987 and FSCSKEY = 'NY0274' then newkey = 'NY0273';

/* DOLGEVILLE (DOLGEVILLE-MANHEIM) */
if year = 1987 and FSCSKEY = 'NY0275' then newkey = 'NY0274';

/* FRANKFORT         */
if year = 1987 and FSCSKEY = 'NY0276' then newkey = 'NY0275';

/* HERKIMER          */
if year = 1987 and FSCSKEY = 'NY0277' then newkey = 'NY0276';

/* ILION             */
if year = 1987 and FSCSKEY = 'NY0278' then newkey = 'NY0277';

/* JORDANVILLE       */
if year = 1987 and FSCSKEY = 'NY0279' then newkey = 'NY0278';

/* LITTLE FALLS      */
if year = 1987 and FSCSKEY = 'NY0280' then newkey = 'NY0279';

/* MIDDLEVILLE       */
if year = 1987 and FSCSKEY = 'NY0281' then newkey = 'NY0280';

/* MOHAWK            */
if year = 1987 and FSCSKEY = 'NY0282' then newkey = 'NY0281';

/* NEWPORT           */
if year = 1987 and FSCSKEY = 'NY0283' then newkey = 'NY0282';

/* OLD FORGE         */
if year = 1987 and FSCSKEY = 'NY0284' then newkey = 'NY0283';

/* POLAND            */
if year = 1987 and FSCSKEY = 'NY0285' then newkey = 'NY0284';

/* SALISBURY CENTER (DOLGEVILLE, KIRBY) */
if year = 1987 and FSCSKEY = 'NY0286' then newkey = 'NY0285';

/* WEST WINFIELD     */
if year = 1987 and FSCSKEY = 'NY0287' then newkey = 'NY0286';

/* CANASTOTA         */
if year = 1987 and FSCSKEY = 'NY0288' then newkey = 'NY0287';

/* CAZENOVIA         */
if year = 1987 and FSCSKEY = 'NY0289' then newkey = 'NY0288';

/* CHITTENANGO       */
if year = 1987 and FSCSKEY = 'NY0290' then newkey = 'NY0289';

/* DERUYTER (DE RUYTER) */
if year = 1987 and FSCSKEY = 'NY0291' then newkey = 'NY0290';

/* EARLVILLE         */
if year = 1987 and FSCSKEY = 'NY0292' then newkey = 'NY0291';

/* HAMILTON          */
if year = 1987 and FSCSKEY = 'NY0293' then newkey = 'NY0292';

/* MORRISVILLE       */
if year = 1987 and FSCSKEY = 'NY0294' then newkey = 'NY0293';

/* NEW WOODSTOCK     */
if year = 1987 and FSCSKEY = 'NY0295' then newkey = 'NY0294';

/* ONEIDA            */
if year = 1987 and FSCSKEY = 'NY0296' then newkey = 'NY0295';

/* BARNEVELD         */
if year = 1987 and FSCSKEY = 'NY0297' then newkey = 'NY0296';

/* BOONVILLE         */
if year = 1987 and FSCSKEY = 'NY0298' then newkey = 'NY0297';

/* BRIDGEVILLE       */
if year = 1987 and FSCSKEY = 'NY0299' then newkey = 'NY0298';

/* CAMDEN (LIBRARY ASSOCIATION) */
if year = 1987 and FSCSKEY = 'NY0300' then newkey = 'NY0299';

/* CLAYVILLE         */
if year = 1987 and FSCSKEY = 'NY0301' then newkey = 'NY0300';

/* CLINTON           */
if year = 1987 and FSCSKEY = 'NY0302' then newkey = 'NY0301';

/* HOLLAND PATENT    */
if year = 1987 and FSCSKEY = 'NY0303' then newkey = 'NY0302';

/* NEW HARTFORD      */
if year = 1987 and FSCSKEY = 'NY0304' then newkey = 'NY0303';

/* NEW YORK MILLS    */
if year = 1987 and FSCSKEY = 'NY0305' then newkey = 'NY0304';

/* ORISKANY          */
if year = 1987 and FSCSKEY = 'NY0306' then newkey = 'NY0305';

/* ORISKANY FALLS    */
if year = 1987 and FSCSKEY = 'NY0307' then newkey = 'NY0306';

/* PROSPECT          */
if year = 1987 and FSCSKEY = 'NY0308' then newkey = 'NY0307';

/* REMSEN            */
if year = 1987 and FSCSKEY = 'NY0309' then newkey = 'NY0308';

/* ROME              */
if year = 1987 and FSCSKEY = 'NY0310' then newkey = 'NY0309';
/* if year = 2002 and FSCSKEY = 'NY0309' then LIBNAME = 'JERVIS PUBLIC LIBRARY ASSOCIATION, INC'; */

/* SHERRILL          */
if year = 1987 and FSCSKEY = 'NY0311' then newkey = 'NY0310';

/* UTICA (PUBLIC LIBRARY) */
if year = 1987 and FSCSKEY = 'NY0312' then newkey = 'NY0311';

/* VERNON            */
if year = 1987 and FSCSKEY = 'NY0313' then newkey = 'NY0312';

/* WATERVILLE        */
if year = 1987 and FSCSKEY = 'NY0314' then newkey = 'NY0313';

/* WESTERNVILLE      */
if year = 1987 and FSCSKEY = 'NY0315' then newkey = 'NY0314';

/* WHITESBORO        */
if year = 1987 and FSCSKEY = 'NY0316' then newkey = 'NY0315';

/* WOODGATE          */
if year = 1987 and FSCSKEY = 'NY0317' then newkey = 'NY0316';

/* SCHENECTADY (MOWHAWK VALLEY) */
if year = 1987 and FSCSKEY = 'NY0318' then newkey = 'NY0317';

/* GLOVERSVILLE      */
if year = 1987 and FSCSKEY = 'NY0319' then newkey = 'NY0318';

/* JOHNSTOWN         */
if year = 1987 and FSCSKEY = 'NY0320' then newkey = 'NY0319';

/* NORTHVILLE        */
if year = 1987 and FSCSKEY = 'NY0321' then newkey = 'NY0320';

/* AMSTERDAM         */
if year = 1987 and FSCSKEY = 'NY0322' then newkey = 'NY0321';

/* CANAJOHARIE       */
if year = 1987 and FSCSKEY = 'NY0323' then newkey = 'NY0322';

/* FONDA             */
if year = 1987 and FSCSKEY = 'NY0324' then newkey = 'NY0323';

/* FORT HUNTER       */
if year = 1987 and FSCSKEY = 'NY0325' then newkey = 'NY0324';

/* FORT PLAIN        */
if year = 1987 and FSCSKEY = 'NY0326' then newkey = 'NY0325';

/* ST. JOHNSVILLE    */
if year = 1987 and FSCSKEY = 'NY0327' then newkey = 'NY0326';

/* SCHENECTADY (COUNTY PL) */
if year = 1987 and FSCSKEY = 'NY0328' then newkey = 'NY0327';

/* COBLESKILL        */
if year = 1987 and FSCSKEY = 'NY0329' then newkey = 'NY0328';

/* MIDDLEBURGH       */
if year = 1987 and FSCSKEY = 'NY0330' then newkey = 'NY0329';

/* SCHOHARIE         */
if year = 1987 and FSCSKEY = 'NY0331' then newkey = 'NY0330';

/* SHARON SPRINGS    */
if year = 1987 and FSCSKEY = 'NY0332' then newkey = 'NY0331';

/* UNIONDALE (NASSAU) */
if year = 1987 and FSCSKEY = 'NY0333' then newkey = 'NY0332';

/* ALBERTSON         */
if year = 1987 and FSCSKEY = 'NY0334' then newkey = 'NY0333';

/* BALDWIN           */
if year = 1987 and FSCSKEY = 'NY0335' then newkey = 'NY0334';

/* BAYVILLE          */
if year = 1987 and FSCSKEY = 'NY0336' then newkey = 'NY0335';

/* BELLMORE          */
if year = 1987 and FSCSKEY = 'NY0337' then newkey = 'NY0336';

/* BETHPAGE          */
if year = 1987 and FSCSKEY = 'NY0338' then newkey = 'NY0337';

/* EAST MEADOW       */
if year = 1987 and FSCSKEY = 'NY0339' then newkey = 'NY0338';

/* EAST ROCKAWAY     */
if year = 1987 and FSCSKEY = 'NY0340' then newkey = 'NY0339';

/* EAST WILLISTON    */
if year = 1987 and FSCSKEY = 'NY0341' then newkey = 'NY0340';

/* ELMONT            */
if year = 1987 and FSCSKEY = 'NY0342' then newkey = 'NY0341';

/* FARMINGDALE       */
if year = 1987 and FSCSKEY = 'NY0343' then newkey = 'NY0342';

/* FLORAL PARK       */
if year = 1987 and FSCSKEY = 'NY0344' then newkey = 'NY0343';

/* FRANKLIN SQUARE   */
if year = 1987 and FSCSKEY = 'NY0345' then newkey = 'NY0344';

/* FREEPORT          */
if year = 1987 and FSCSKEY = 'NY0346' then newkey = 'NY0345';

/* GARDEN CITY       */
if year = 1987 and FSCSKEY = 'NY0347' then newkey = 'NY0346';

/* GLEN COVE         */
if year = 1987 and FSCSKEY = 'NY0348' then newkey = 'NY0347';

/* GREAT NECK        */
if year = 1987 and FSCSKEY = 'NY0349' then newkey = 'NY0348';

/* HEMPSTEAD         */
if year = 1987 and FSCSKEY = 'NY0350' then newkey = 'NY0349';

/* HEWLETT           */
if year = 1987 and FSCSKEY = 'NY0351' then newkey = 'NY0350';

/* HICKSVILLE        */
if year = 1987 and FSCSKEY = 'NY0352' then newkey = 'NY0351';

/* ISLAND PARK       */
if year = 1987 and FSCSKEY = 'NY0353' then newkey = 'NY0352';

/* LEVITTOWN (ISLAND TREES) */
if year = 1987 and FSCSKEY = 'NY0354' then newkey = 'NY0353';

/* JERICHO           */
if year = 1987 and FSCSKEY = 'NY0355' then newkey = 'NY0354';

/* ROCKVILLE CENTRE (LAKEVIEW) */
if year = 1987 and FSCSKEY = 'NY0356' then newkey = 'NY0355';

/* LAWRENCE          */
if year = 1987 and FSCSKEY = 'NY0357' then newkey = 'NY0356';

/* LEVITTOWN (PL)    */
if year = 1987 and FSCSKEY = 'NY0358' then newkey = 'NY0357';

/* LOCUST VALLEY     */
if year = 1987 and FSCSKEY = 'NY0359' then newkey = 'NY0358';

/* LONG BEACH        */
if year = 1987 and FSCSKEY = 'NY0360' then newkey = 'NY0359';

/* LYNBROOK          */
if year = 1987 and FSCSKEY = 'NY0361' then newkey = 'NY0360';

/* MALVERNE          */
if year = 1987 and FSCSKEY = 'NY0362' then newkey = 'NY0361';

/* MANHASSET         */
if year = 1987 and FSCSKEY = 'NY0363' then newkey = 'NY0362';

/* MASSAPEQUA (PL)   */
if year = 1987 and FSCSKEY = 'NY0364' then newkey = 'NY0363';

/* MERRICK           */
if year = 1987 and FSCSKEY = 'NY0365' then newkey = 'NY0364';

/* MINEOLA           */
if year = 1987 and FSCSKEY = 'NY0366' then newkey = 'NY0365';

/* NEW HYDE PARK (PL) */
if year = 1987 and FSCSKEY = 'NY0367' then newkey = 'NY0366';

/* NEW HYDE PARK (HILLSIDE) */
if year = 1987 and FSCSKEY = 'NY0368' then newkey = 'NY0367';

/* NORTH BELLMORE    */
if year = 1987 and FSCSKEY = 'NY0369' then newkey = 'NY0368';

/* NORTH BELLMORE    */
if year = 1987 and FSCSKEY = 'NY0369' then newkey = 'NY0368';

/* NORTH MERRICK     */
if year = 1987 and FSCSKEY = 'NY0370' then newkey = 'NY0369';

/* OCEANSIDE         */
if year = 1987 and FSCSKEY = 'NY0371' then newkey = 'NY0370';

/* OYSTER BAY        */
if year = 1987 and FSCSKEY = 'NY0372' then newkey = 'NY0371';

/* MASSAPEQUA (PLANEDGE) */
if year = 1987 and FSCSKEY = 'NY0373' then newkey = 'NY0372';

/* PLAINVIEW         */
if year = 1987 and FSCSKEY = 'NY0374' then newkey = 'NY0373';

/* PORT WASHINGTON   */
if year = 1987 and FSCSKEY = 'NY0375' then newkey = 'NY0374';

/* ROCKVILLE CENTRE (PL) */
if year = 1987 and FSCSKEY = 'NY0376' then newkey = 'NY0375';

/* ROOSEVELT         */
if year = 1987 and FSCSKEY = 'NY0377' then newkey = 'NY0376';

/* ROSLYN            */
if year = 1987 and FSCSKEY = 'NY0378' then newkey = 'NY0377';

/* SEA CLIFF         */
if year = 1987 and FSCSKEY = 'NY0379' then newkey = 'NY0378';

/* SEAFORD           */
if year = 1987 and FSCSKEY = 'NY0380' then newkey = 'NY0379';

/* SYOSSET           */
if year = 1987 and FSCSKEY = 'NY0381' then newkey = 'NY0380';

/* UNIONDALE (PL)    */
if year = 1987 and FSCSKEY = 'NY0382' then newkey = 'NY0381';

/* VALLEY STREAM     */
if year = 1987 and FSCSKEY = 'NY0383' then newkey = 'NY0382';

/* WANTAGH           */
if year = 1987 and FSCSKEY = 'NY0384' then newkey = 'NY0383';

/* WEST HEMPSTEAD    */
if year = 1987 and FSCSKEY = 'NY0385' then newkey = 'NY0384';

/* WESTBURY          */
if year = 1987 and FSCSKEY = 'NY0386' then newkey = 'NY0385';

/* WILLISTON PARK    */
if year = 1987 and FSCSKEY = 'NY0387' then newkey = 'NY0386';

/* The following two appear to be aggregated after 1988 to NY0778) */

/* NEW YORK (NYPL BRANCH) */
if year = 1987 and FSCSKEY = 'NY0388' then newkey = 'NY0387';
if year = 1989 and FSCSKEY = 'NY0387' then newkey = 'NY0778';
if year = 1990 and FSCSKEY = 'NY0387' then newkey = 'NY0778';
if year = 1991 and FSCSKEY = 'NY0387' then newkey = 'NY0778';
if year = 1992 and FSCSKEY = 'NY0387' then newkey = 'NY0778';


/* NEW YORK (NYPL RESEARCH LIBRARY) */
if year = 1987 and FSCSKEY = 'NY0389' then newkey = 'NY0388';

/* LOCKPORT (NIOGA)  */
if year = 1987 and FSCSKEY = 'NY0390' then newkey = 'NY0389';

/* BATAVIA           */
if year = 1987 and FSCSKEY = 'NY0391' then newkey = 'NY0390';

/* BERGEN            */
if year = 1987 and FSCSKEY = 'NY0392' then newkey = 'NY0391';

/* CORFU             */
if year = 1987 and FSCSKEY = 'NY0393' then newkey = 'NY0392';

/* LEROY             */
if year = 1987 and FSCSKEY = 'NY0394' then newkey = 'NY0393';

/* OAKFIELD          */
if year = 1987 and FSCSKEY = 'NY0395' then newkey = 'NY0394';

/* PAVILION          */
if year = 1987 and FSCSKEY = 'NY0396' then newkey = 'NY0395';

/* BARKER            */
if year = 1987 and FSCSKEY = 'NY0397' then newkey = 'NY0396';

/* LEWISTON          */
if year = 1987 and FSCSKEY = 'NY0398' then newkey = 'NY0397';

/* LOCKPORT (PL)     */
if year = 1987 and FSCSKEY = 'NY0399' then newkey = 'NY0398';

/* MIDDLEPORT        */
if year = 1987 and FSCSKEY = 'NY0400' then newkey = 'NY0399';

/* NEWFANE           */
if year = 1987 and FSCSKEY = 'NY0401' then newkey = 'NY0400';

/* NIAGRA FALLS      */
if year = 1987 and FSCSKEY = 'NY0402' then newkey = 'NY0401';

/* NORTH TONAWANDA   */
if year = 1987 and FSCSKEY = 'NY0403' then newkey = 'NY0402';

/* RANSOMVILLE       */
if year = 1987 and FSCSKEY = 'NY0404' then newkey = 'NY0403';

/* SANBORN           */
if year = 1987 and FSCSKEY = 'NY0405' then newkey = 'NY0404';

/* WILSON            */
if year = 1987 and FSCSKEY = 'NY0406' then newkey = 'NY0405';

/* YOUNGSTOWN        */
if year = 1987 and FSCSKEY = 'NY0407' then newkey = 'NY0406';

/* ALBION            */
if year = 1987 and FSCSKEY = 'NY0408' then newkey = 'NY0407';

/* HOLLEY            */
if year = 1987 and FSCSKEY = 'NY0409' then newkey = 'NY0408';

/* LYNDONVILLE       */
if year = 1987 and FSCSKEY = 'NY0410' then newkey = 'NY0409';

/* MEDINA            */
if year = 1987 and FSCSKEY = 'NY0411' then newkey = 'NY0410';

/* WATERTOWN (NORTH COUNTRY LIBRARY SYSTEM) */
if year = 1987 and FSCSKEY = 'NY0412' then newkey = 'NY0411';

/* ADAMS             */
if year = 1987 and FSCSKEY = 'NY0413' then newkey = 'NY0412';

/* ADAMS CENTER      */
if year = 1987 and FSCSKEY = 'NY0414' then newkey = 'NY0413';

/* ALEXANDRIA BAY    */
if year = 1987 and FSCSKEY = 'NY0415' then newkey = 'NY0414';

/* ANTWERP           */
if year = 1987 and FSCSKEY = 'NY0416' then newkey = 'NY0415';

/* BELLEVILLE        */
if year = 1987 and FSCSKEY = 'NY0417' then newkey = 'NY0416';

/* BLACK RIVER       */
if year = 1987 and FSCSKEY = 'NY0418' then newkey = 'NY0417';

/* BROWNVILLE        */
if year = 1987 and FSCSKEY = 'NY0419' then newkey = 'NY0418';

/* CAPE VINCENT      */
if year = 1987 and FSCSKEY = 'NY0420' then newkey = 'NY0419';

/* CARTHAGE          */
if year = 1987 and FSCSKEY = 'NY0421' then newkey = 'NY0420';

/* CARTHAGE          */
if year = 1987 and FSCSKEY = 'NY0421' then newkey = 'NY0420';

/* CHAUMONT          */
if year = 1987 and FSCSKEY = 'NY0422' then newkey = 'NY0421';

/* CLAYTON           */
if year = 1987 and FSCSKEY = 'NY0423' then newkey = 'NY0422';

/* DEPAUVILLE        */
if year = 1987 and FSCSKEY = 'NY0424' then newkey = 'NY0423';

/* DEXTER            */
if year = 1987 and FSCSKEY = 'NY0425' then newkey = 'NY0424';

/* WATERTOWN (EAST HOUNSFIELD) */
if year = 1987 and FSCSKEY = 'NY0426' then newkey = 'NY0425';

/* ELLISBURG         */
if year = 1987 and FSCSKEY = 'NY0427' then newkey = 'NY0426';

/* EVANS MILLS       */
if year = 1987 and FSCSKEY = 'NY0428' then newkey = 'NY0427';

/* HENDERSON         */
if year = 1987 and FSCSKEY = 'NY0429' then newkey = 'NY0428';

/* LA FARGEVILLE     */
if year = 1987 and FSCSKEY = 'NY0430' then newkey = 'NY0429';

/* MANNSVILLE        */
if year = 1987 and FSCSKEY = 'NY0431' then newkey = 'NY0430';

/* PHILADELPHIA      */
if year = 1987 and FSCSKEY = 'NY0432' then newkey = 'NY0431';

/* RODMAN            */
if year = 1987 and FSCSKEY = 'NY0433' then newkey = 'NY0432';

/* SACKETS HARBOR    */
if year = 1987 and FSCSKEY = 'NY0434' then newkey = 'NY0433';

/* THERESA           */
if year = 1987 and FSCSKEY = 'NY0435' then newkey = 'NY0434';

/* THOUSAND IS PARK  */
if year = 1987 and FSCSKEY = 'NY0436' then newkey = 'NY0435';

/* WATERTOWN (ROSWELL P. FLOWER) */
if year = 1987 and FSCSKEY = 'NY0437' then newkey = 'NY0436';

/* BEAVER FALLS      */
if year = 1987 and FSCSKEY = 'NY0438' then newkey = 'NY0437';

/* CONSTABLEVILLE    */
if year = 1987 and FSCSKEY = 'NY0439' then newkey = 'NY0438';

/* CROGHAN           */
if year = 1987 and FSCSKEY = 'NY0440' then newkey = 'NY0439';

/* HARRISVILLE       */
if year = 1987 and FSCSKEY = 'NY0441' then newkey = 'NY0440';

/* LOWVILLE          */
if year = 1987 and FSCSKEY = 'NY0442' then newkey = 'NY0441';

/* LYONS FALLS       */
if year = 1987 and FSCSKEY = 'NY0443' then newkey = 'NY0442';

/* MARTINSBURG       */
if year = 1987 and FSCSKEY = 'NY0444' then newkey = 'NY0443';

/* CAMDEN (OSCEOLA)  */
if year = 1987 and FSCSKEY = 'NY0445' then newkey = 'NY0444';

/* PORT LEYDEN       */
if year = 1987 and FSCSKEY = 'NY0446' then newkey = 'NY0445';

/* TURIN             */
if year = 1987 and FSCSKEY = 'NY0447' then newkey = 'NY0446';

/* CENTRAL SQUARE    */
if year = 1987 and FSCSKEY = 'NY0448' then newkey = 'NY0447';

/* FULTON            */
if year = 1987 and FSCSKEY = 'NY0449' then newkey = 'NY0448';

/* HANNIBAL          */
if year = 1987 and FSCSKEY = 'NY0450' then newkey = 'NY0449';

/* MEXICO            */
if year = 1987 and FSCSKEY = 'NY0451' then newkey = 'NY0450';

/* OREWELL           */
if year = 1987 and FSCSKEY = 'NY0452' then newkey = 'NY0451';

/* OSWEGO            */
if year = 1987 and FSCSKEY = 'NY0453' then newkey = 'NY0452';

/* PARISH            */
if year = 1987 and FSCSKEY = 'NY0454' then newkey = 'NY0453';

/* PHOENIX           */
if year = 1987 and FSCSKEY = 'NY0455' then newkey = 'NY0454';

/* PULASKI           */
if year = 1987 and FSCSKEY = 'NY0456' then newkey = 'NY0455';

/* SANDY CREEK       */
if year = 1987 and FSCSKEY = 'NY0457' then newkey = 'NY0456';

/* CANTON            */
if year = 1987 and FSCSKEY = 'NY0458' then newkey = 'NY0457';

/* COLTON            */
if year = 1987 and FSCSKEY = 'NY0459' then newkey = 'NY0458';

/* CRANBERRY LAKE    */
if year = 1987 and FSCSKEY = 'NY0460' then newkey = 'NY0459';

/* EDWARDS           */
if year = 1987 and FSCSKEY = 'NY0461' then newkey = 'NY0460';

/* GOUVERNEUR        */
if year = 1987 and FSCSKEY = 'NY0462' then newkey = 'NY0461';

/* HAMMOND           */
if year = 1987 and FSCSKEY = 'NY0463' then newkey = 'NY0462';

/* HERMON            */
if year = 1987 and FSCSKEY = 'NY0464' then newkey = 'NY0463';

/* HEUVELTON         */
if year = 1987 and FSCSKEY = 'NY0465' then newkey = 'NY0464';

/* LISBON            */
if year = 1987 and FSCSKEY = 'NY0466' then newkey = 'NY0465';

/* MADRID            */
if year = 1987 and FSCSKEY = 'NY0467' then newkey = 'NY0466';

/* MASSENA           */
if year = 1987 and FSCSKEY = 'NY0468' then newkey = 'NY0467';

/* MORRISTOWN        */
if year = 1987 and FSCSKEY = 'NY0469' then newkey = 'NY0468';

/* NORFOLK           */
if year = 1987 and FSCSKEY = 'NY0470' then newkey = 'NY0469';

/* NORWOOD           */
if year = 1987 and FSCSKEY = 'NY0471' then newkey = 'NY0470';

/* OGDENSBURG        */
if year = 1987 and FSCSKEY = 'NY0472' then newkey = 'NY0471';

/* POTSDAM           */
if year = 1987 and FSCSKEY = 'NY0473' then newkey = 'NY0472';

/* RICHVILLE         */
if year = 1987 and FSCSKEY = 'NY0474' then newkey = 'NY0473';

/* RUSSELL           */
if year = 1987 and FSCSKEY = 'NY0475' then newkey = 'NY0474';

/* WADDINGTON        */
if year = 1987 and FSCSKEY = 'NY0476' then newkey = 'NY0475';

/* SYRACUSE (ONANDAGA COUNTY) */
if year = 1987 and FSCSKEY = 'NY0477' then newkey = 'NY0476';

/* BALDWINSVILLE     */
if year = 1987 and FSCSKEY = 'NY0478' then newkey = 'NY0477';

/* BREWERTON         */
if year = 1987 and FSCSKEY = 'NY0479' then newkey = 'NY0478';

/* CAMILLUS          */
if year = 1987 and FSCSKEY = 'NY0480' then newkey = 'NY0479';

/* CHECK CICERO-NY0784   */

/* CICERO            */
if year = 1987 and FSCSKEY = 'NY0481' then newkey = 'NY0480';

/* DEWITT            */
if year = 1987 and FSCSKEY = 'NY0482' then newkey = 'NY0481';

/* EAST SYRACUSE     */
if year = 1987 and FSCSKEY = 'NY0483' then newkey = 'NY0482';

/* ELBRIDGE          */
if year = 1987 and FSCSKEY = 'NY0484' then newkey = 'NY0483';

/* SYRACUSE (FAIRMONT) */
if year = 1987 and FSCSKEY = 'NY0485' then newkey = 'NY0484';

/* FAYETTEVILLE      */
if year = 1987 and FSCSKEY = 'NY0486' then newkey = 'NY0485';

/* JORDAN            */
if year = 1987 and FSCSKEY = 'NY0487' then newkey = 'NY0486';

/* LAFAYETTE         */
if year = 1987 and FSCSKEY = 'NY0488' then newkey = 'NY0487';

/* LIVERPOOL         */
if year = 1987 and FSCSKEY = 'NY0489' then newkey = 'NY0488';

/* MANLIUS           */
if year = 1987 and FSCSKEY = 'NY0490' then newkey = 'NY0489';

/* MARCELLUS         */
if year = 1987 and FSCSKEY = 'NY0491' then newkey = 'NY0490';

/* MATTYDALE         */
if year = 1987 and FSCSKEY = 'NY0492' then newkey = 'NY0491';

/* MINOA             */
if year = 1987 and FSCSKEY = 'NY0493' then newkey = 'NY0492';

/* NORTH SYRACUSE    */
if year = 1987 and FSCSKEY = 'NY0494' then newkey = 'NY0493';

/* SYRACUSE (ONANDOGA FREE LIBRARY) */
if year = 1987 and FSCSKEY = 'NY0495' then newkey = 'NY0494';

/* SOLVAY            */
if year = 1987 and FSCSKEY = 'NY0496' then newkey = 'NY0495';

/* TULLY             */
if year = 1987 and FSCSKEY = 'NY0497' then newkey = 'NY0496';

/* AVON (LIVINGSTON COUNTY) */
if year = 1987 and FSCSKEY = 'NY0499' then newkey = 'NY0497';

/* AVON (FREE LIBRARY) */
if year = 1987 and FSCSKEY = 'NY0500' then newkey = 'NY0498';

/* CALEDONIA         */
if year = 1987 and FSCSKEY = 'NY0501' then newkey = 'NY0499';

/* DANSVILLE         */
if year = 1987 and FSCSKEY = 'NY0502' then newkey = 'NY0500';

/* GENESEO           */
if year = 1987 and FSCSKEY = 'NY0503' then newkey = 'NY0501';

/* LIMA              */
if year = 1987 and FSCSKEY = 'NY0504' then newkey = 'NY0502';

/* LIVONIA           */
if year = 1987 and FSCSKEY = 'NY0505' then newkey = 'NY0503';

/* MOUNT MORRIS      */
if year = 1987 and FSCSKEY = 'NY0506' then newkey = 'NY0504';

/* NUNDA             */
if year = 1987 and FSCSKEY = 'NY0507' then newkey = 'NY0505';

/* ROCHESTER (MONROE COUNTY) */
if year = 1987 and FSCSKEY = 'NY0508' then newkey = 'NY0506';

/* ROCHESTER (BRIGHTON MEMORIAL) */
if year = 1987 and FSCSKEY = 'NY0509' then newkey = 'NY0507';

/* BROCKPORT         */
if year = 1987 and FSCSKEY = 'NY0510' then newkey = 'NY0508';

/* ROCHESTER (CHILI) */
if year = 1987 and FSCSKEY = 'NY0511' then newkey = 'NY0509';

/* CHURCHVILLE       */
if year = 1987 and FSCSKEY = 'NY0512' then newkey = 'NY0510';

/* EAST ROCHESTER    */
if year = 1987 and FSCSKEY = 'NY0513' then newkey = 'NY0511';

/* FAIRPORT          */
if year = 1987 and FSCSKEY = 'NY0514' then newkey = 'NY0512';

/* ROCHESTER (GATES) */
if year = 1987 and FSCSKEY = 'NY0515' then newkey = 'NY0513';

/* ROCHESTER (GREECE) */
if year = 1987 and FSCSKEY = 'NY0516' then newkey = 'NY0514';

/* ROCHESTER (HENRIETTA) */
if year = 1987 and FSCSKEY = 'NY0517' then newkey = 'NY0515';

/* HILTON            */
if year = 1987 and FSCSKEY = 'NY0518' then newkey = 'NY0516';

/* HONEOYE FALLS     */
if year = 1987 and FSCSKEY = 'NY0519' then newkey = 'NY0517';

/* ROCHESTER (IRONDEQUOIT) */
if year = 1987 and FSCSKEY = 'NY0520' then newkey = 'NY0518';

/* PENFIELD          */
if year = 1987 and FSCSKEY = 'NY0521' then newkey = 'NY0519';

/* PITTSFORD         */
if year = 1987 and FSCSKEY = 'NY0522' then newkey = 'NY0520';

/* ROCHESTER (PL)    */
if year = 1987 and FSCSKEY = 'NY0523' then newkey = 'NY0521';

/* RUSH              */
if year = 1987 and FSCSKEY = 'NY0524' then newkey = 'NY0522';

/* SCOTTSVILLE       */
if year = 1987 and FSCSKEY = 'NY0525' then newkey = 'NY0523';

/* SPENCERPORT       */
if year = 1987 and FSCSKEY = 'NY0526' then newkey = 'NY0524';

/* WEBSTER           */
if year = 1987 and FSCSKEY = 'NY0527' then newkey = 'NY0525';

/* NEWARK            */
if year = 1987 and FSCSKEY = 'NY0528' then newkey = 'NY0526';

/* HOLCOMB           */
if year = 1987 and FSCSKEY = 'NY0529' then newkey = 'NY0527';

/* CANANDAIGUA (BRISTOL) */
if year = 1987 and FSCSKEY = 'NY0530' then newkey = 'NY0528';

/* CANANDAIGUA (WOOD) */
if year = 1987 and FSCSKEY = 'NY0531' then newkey = 'NY0529';

/* CLIFTON SPRINGS   */
if year = 1987 and FSCSKEY = 'NY0532' then newkey = 'NY0530';

/* EAST BLOOMFIELD   */
if year = 1987 and FSCSKEY = 'NY0533' then newkey = 'NY0531';

/* GENEVA            */
if year = 1987 and FSCSKEY = 'NY0534' then newkey = 'NY0532';

/* GORHAM            */
if year = 1987 and FSCSKEY = 'NY0535' then newkey = 'NY0533';

/* HONEOYE (PL)      */
if year = 1987 and FSCSKEY = 'NY0536' then newkey = 'NY0534';

/* NAPLES            */
if year = 1987 and FSCSKEY = 'NY0537' then newkey = 'NY0535';

/* PHELPS            */
if year = 1987 and FSCSKEY = 'NY0538' then newkey = 'NY0536';

/* VICTOR            */
if year = 1987 and FSCSKEY = 'NY0539' then newkey = 'NY0537';

/* NEWARK            */
if year = 1987 and FSCSKEY = 'NY0540' then newkey = 'NY0538';

/* CLYDE             */
if year = 1987 and FSCSKEY = 'NY0541' then newkey = 'NY0539';

/* LYONS             */
if year = 1987 and FSCSKEY = 'NY0542' then newkey = 'NY0540';

/* MACEDON           */
if year = 1987 and FSCSKEY = 'NY0543' then newkey = 'NY0541';

/* MARION            */
if year = 1987 and FSCSKEY = 'NY0544' then newkey = 'NY0542';

/* NEWARK            */
if year = 1987 and FSCSKEY = 'NY0545' then newkey = 'NY0543';

/* ONTARIO           */
if year = 1987 and FSCSKEY = 'NY0546' then newkey = 'NY0544';

/* PALMYRA           */
if year = 1987 and FSCSKEY = 'NY0547' then newkey = 'NY0545';

/* RED CREEK         */
if year = 1987 and FSCSKEY = 'NY0548' then newkey = 'NY0546';

/* ROSE              */
if year = 1987 and FSCSKEY = 'NY0549' then newkey = 'NY0547';

/* SODUS             */
if year = 1987 and FSCSKEY = 'NY0550' then newkey = 'NY0548';

/* WALWORTH          */
if year = 1987 and FSCSKEY = 'NY0551' then newkey = 'NY0549';

/* WILLIAMSON        */
if year = 1987 and FSCSKEY = 'NY0552' then newkey = 'NY0550';

/* WOLCOTT           */
if year = 1987 and FSCSKEY = 'NY0553' then newkey = 'NY0551';

/* AVON              */
if year = 1987 and FSCSKEY = 'NY0554' then newkey = 'NY0552';

/* ARCADE            */
if year = 1987 and FSCSKEY = 'NY0555' then newkey = 'NY0553';

/* ATTICA            */
if year = 1987 and FSCSKEY = 'NY0556' then newkey = 'NY0554';

/* BLISS             */
if year = 1987 and FSCSKEY = 'NY0557' then newkey = 'NY0555';

/* CASTILE           */
if year = 1987 and FSCSKEY = 'NY0558' then newkey = 'NY0556';

/* PERRY             */
if year = 1987 and FSCSKEY = 'NY0559' then newkey = 'NY0557';

/* PIKE              */
if year = 1987 and FSCSKEY = 'NY0560' then newkey = 'NY0558';

/* SILVER SPRINGS    */
if year = 1987 and FSCSKEY = 'NY0561' then newkey = 'NY0559';

/* WARSAW            */
if year = 1987 and FSCSKEY = 'NY0562' then newkey = 'NY0560';

/* WYOMING           */
if year = 1987 and FSCSKEY = 'NY0563' then newkey = 'NY0561';

/* JAMAICA           */
if year = 1987 and FSCSKEY = 'NY0564' then newkey = 'NY0562';

/* MIDDLETOWN        */
if year = 1987 and FSCSKEY = 'NY0565' then newkey = 'NY0563';

/* CENTRAL VALLEY    */
if year = 1987 and FSCSKEY = 'NY0566' then newkey = 'NY0564';

/* CHESTER           */
if year = 1987 and FSCSKEY = 'NY0567' then newkey = 'NY0565';

/* CORNWALL (ON HUDSON) */
if year = 1987 and FSCSKEY = 'NY0568' then newkey = 'NY0566';

/* FLORIDA           */
if year = 1987 and FSCSKEY = 'NY0569' then newkey = 'NY0567';

/* NEW YORK (GOSHEN) */
if year = 1987 and FSCSKEY = 'NY0570' then newkey = 'NY0568';

/* GREENWOOD LAKE    */
if year = 1987 and FSCSKEY = 'NY0571' then newkey = 'NY0569';

/* HIGHLAND FALLS    */
if year = 1987 and FSCSKEY = 'NY0572' then newkey = 'NY0570';

/* HIGHLAND MILLS    */
if year = 1987 and FSCSKEY = 'NY0573' then newkey = 'NY0777';
if year = 1988 and FSCSKEY = 'NY0571' then newkey = 'NY0777';
if year = 1989 and FSCSKEY = 'NY0571' then newkey = 'NY0777';
if year = 1990 and FSCSKEY = 'NY0571' then newkey = 'NY0777';
if year = 1991 and FSCSKEY = 'NY0571' then newkey = 'NY0777';
if year = 1992 and FSCSKEY = 'NY0571' then newkey = 'NY0777';

/* MIDDLETOWN        */
if year = 1987 and FSCSKEY = 'NY0574' then newkey = 'NY0572';

/* MONROE            */
if year = 1987 and FSCSKEY = 'NY0575' then newkey = 'NY0573';

/* MONTGOMERY        */
if year = 1987 and FSCSKEY = 'NY0576' then newkey = 'NY0574';

/* NEWBURGH          */
if year = 1987 and FSCSKEY = 'NY0577' then newkey = 'NY0575';

/* PINE BUSH         */
if year = 1987 and FSCSKEY = 'NY0578' then newkey = 'NY0576';

/* PORT JERVIS       */
if year = 1987 and FSCSKEY = 'NY0579' then newkey = 'NY0577';

/* TUXEDO PARK       */
if year = 1987 and FSCSKEY = 'NY0580' then newkey = 'NY0578';

/* WALDEN            */
if year = 1987 and FSCSKEY = 'NY0581' then newkey = 'NY0579';

/* WARWICK           */
if year = 1987 and FSCSKEY = 'NY0582' then newkey = 'NY0580';

/* WASHINGTONVILLE   */
if year = 1987 and FSCSKEY = 'NY0583' then newkey = 'NY0581';

/* BLAUVELT          */
if year = 1987 and FSCSKEY = 'NY0584' then newkey = 'NY0582';

/* HAVERSTRAW        */
if year = 1987 and FSCSKEY = 'NY0585' then newkey = 'NY0583';

/* NANUET            */
if year = 1987 and FSCSKEY = 'NY0586' then newkey = 'NY0584';

/* NEW CITY          */
if year = 1987 and FSCSKEY = 'NY0587' then newkey = 'NY0585';

/* NYACK             */
if year = 1987 and FSCSKEY = 'NY0588' then newkey = 'NY0586';

/* ORANGEBURG        */
if year = 1987 and FSCSKEY = 'NY0589' then newkey = 'NY0587';

/* PALISADES         */
if year = 1987 and FSCSKEY = 'NY0590' then newkey = 'NY0588';

/* PEARL RIVER       */
if year = 1987 and FSCSKEY = 'NY0591' then newkey = 'NY0589';

/* PIERMONT          */
if year = 1987 and FSCSKEY = 'NY0592' then newkey = 'NY0590';

/* SLOATSBURG        */
if year = 1987 and FSCSKEY = 'NY0593' then newkey = 'NY0591';

/* SPRING VALLEY     */
if year = 1987 and FSCSKEY = 'NY0594' then newkey = 'NY0592';

/* STONY POINT       */
if year = 1987 and FSCSKEY = 'NY0595' then newkey = 'NY0593';

/* SUFFERN           */
if year = 1987 and FSCSKEY = 'NY0596' then newkey = 'NY0594';

/* TAPPAN            */
if year = 1987 and FSCSKEY = 'NY0597' then newkey = 'NY0595';

/* TOMKINS COVE      */
if year = 1987 and FSCSKEY = 'NY0598' then newkey = 'NY0596';

/* VALLEY COTTAGE    */
if year = 1987 and FSCSKEY = 'NY0599' then newkey = 'NY0597';

/* WEST NYACK        */
if year = 1987 and FSCSKEY = 'NY0600' then newkey = 'NY0598';

/* BLOOMINGBURG      */
if year = 1987 and FSCSKEY = 'NY0601' then newkey = 'NY0599';

/* CALLICOON         */
if year = 1987 and FSCSKEY = 'NY0602' then newkey = 'NY0600';

/* ELDRED            */
if year = 1987 and FSCSKEY = 'NY0603' then newkey = 'NY0601';

/* GRAHAMSVILLE      */
if year = 1987 and FSCSKEY = 'NY0604' then newkey = 'NY0602';

/* JEFFERSONVILLE    */
if year = 1987 and FSCSKEY = 'NY0605' then newkey = 'NY0603';
/* same as NY9015?     */

/* LIBERTY           */
if year = 1987 and FSCSKEY = 'NY0606' then newkey = 'NY0604';

/* LIVINGSTON MANOR  */
if year = 1987 and FSCSKEY = 'NY0607' then newkey = 'NY0605';

/* MONTICELLO        */
if year = 1987 and FSCSKEY = 'NY0608' then newkey = 'NY0606';

/* ROSCOE            */
if year = 1987 and FSCSKEY = 'NY0609' then newkey = 'NY0607';

/* CRAGSMOOR         */
if year = 1987 and FSCSKEY = 'NY0610' then newkey = 'NY0608';

/* ELLENVILLE        */
if year = 1987 and FSCSKEY = 'NY0611' then newkey = 'NY0609';

/* WALLKILL          */
if year = 1987 and FSCSKEY = 'NY0612' then newkey = 'NY0610';

/* SARATOGA SPRINGS (SOUTHERN ADIRONDACK) */
if year = 1987 and FSCSKEY = 'NY0613' then newkey = 'NY0611';

/* INDIAN LAKE       */
if year = 1987 and FSCSKEY = 'NY0614' then newkey = 'NY0612';

/* RAQUETTE LAKE     */
if year = 1987 and FSCSKEY = 'NY0615' then newkey = 'NY0613';

/* BALLSTON SPA      */
if year = 1987 and FSCSKEY = 'NY0616' then newkey = 'NY0614';

/* BURNT HILLS       */
if year = 1987 and FSCSKEY = 'NY0617' then newkey = 'NY0615';

/* CLIFTON PARK      */
if year = 1987 and FSCSKEY = 'NY0618' then newkey = 'NY0616';

/* CORINTH           */
if year = 1987 and FSCSKEY = 'NY0619' then newkey = 'NY0617';

/* MECHANICVILLE     */
if year = 1987 and FSCSKEY = 'NY0620' then newkey = 'NY0618';

/* MECHANICVILLE     */
if year = 1987 and FSCSKEY = 'NY0620' then newkey = 'NY0618';

/* ROUND LAKE        */
if year = 1987 and FSCSKEY = 'NY0621' then newkey = 'NY0619';

/* SARATOGA SPRINGS (PL) */
if year = 1987 and FSCSKEY = 'NY0622' then newkey = 'NY0620';

/* SCHUYLERVILLE     */
if year = 1987 and FSCSKEY = 'NY0623' then newkey = 'NY0621';

/* STILLWATER        */
if year = 1987 and FSCSKEY = 'NY0624' then newkey = 'NY0622';

/* WATERFORD         */
if year = 1987 and FSCSKEY = 'NY0625' then newkey = 'NY0623';

/* BOLTON LANDING    */
if year = 1987 and FSCSKEY = 'NY0626' then newkey = 'NY0624';

/* BRANT LAKE        */
if year = 1987 and FSCSKEY = 'NY0627' then newkey = 'NY0625';

/* GLENS FALLS       */
if year = 1987 and FSCSKEY = 'NY0628' then newkey = 'NY0626';

/* LAKE GEORGE (CALDWELL)*/
if year = 1987 and FSCSKEY = 'NY0629' then newkey = 'NY0627';

/* LAKE GEORGE (MOUNTAINSIDE) */
if year = 1987 and FSCSKEY = 'NY0630' then newkey = 'NY0628';

/* LAKE LUZERNE      */
if year = 1987 and FSCSKEY = 'NY0631' then newkey = 'NY0629';

/* STONY CREEK       */
if year = 1987 and FSCSKEY = 'NY0632' then newkey = 'NY0630';

/* WARRENSBURG       */
if year = 1987 and FSCSKEY = 'NY0633' then newkey = 'NY0631';

/* ARGYLE            */
if year = 1987 and FSCSKEY = 'NY0634' then newkey = 'NY0632';

/* CAMBRIDGE         */
if year = 1987 and FSCSKEY = 'NY0635' then newkey = 'NY0633';

/* GREENWICH (EASTON) */
if year = 1987 and FSCSKEY = 'NY0636' then newkey = 'NY0634';

/* FORT EDWARD       */
if year = 1987 and FSCSKEY = 'NY0637' then newkey = 'NY0635';

/* GRANVILLE         */
if year = 1987 and FSCSKEY = 'NY0638' then newkey = 'NY0636';

/* GREENWICH (FREE LIBRARY) */
if year = 1987 and FSCSKEY = 'NY0639' then newkey = 'NY0637';

/* HUDSON FALLS      */
if year = 1987 and FSCSKEY = 'NY0640' then newkey = 'NY0638';

/* SALEM             */
if year = 1987 and FSCSKEY = 'NY0641' then newkey = 'NY0639';

/* WHITEHALL         */
if year = 1987 and FSCSKEY = 'NY0642' then newkey = 'NY0640';

/* BELLPORT          */
if year = 1987 and FSCSKEY = 'NY0643' then newkey = 'NY0641';

/* AMAGANSETT        */
if year = 1987 and FSCSKEY = 'NY0644' then newkey = 'NY0642';

/* AMITYVILLE        */
if year = 1987 and FSCSKEY = 'NY0645' then newkey = 'NY0643';

/* BABYLON           */
if year = 1987 and FSCSKEY = 'NY0646' then newkey = 'NY0644';

/* BELLPORT          */
if year = 1987 and FSCSKEY = 'NY0647' then newkey = 'NY0645';

/* BLUE POINT        */
if year = 1987 and FSCSKEY = 'NY0648' then newkey = 'NY0646';

/* BOHEMIA           */
if year = 1987 and FSCSKEY = 'NY0649' then newkey = 'NY0647';

/* BRENTWOOD         */
if year = 1987 and FSCSKEY = 'NY0650' then newkey = 'NY0648';

/* BRIDGEHAMPTON     */
if year = 1987 and FSCSKEY = 'NY0651' then newkey = 'NY0649';

/* BRIGHTWATERS      */
if year = 1987 and FSCSKEY = 'NY0652' then newkey = 'NY0650';

/* BROOKHAVEN        */
if year = 1987 and FSCSKEY = 'NY0653' then newkey = 'NY0651';

/* CALVERTON         */
if year = 1987 and FSCSKEY = 'NY0654' then newkey = 'NY0652';

/* CENTER MORICHES   */
if year = 1987 and FSCSKEY = 'NY0655' then newkey = 'NY0653';

/* CENTEREACH        */
if year = 1987 and FSCSKEY = 'NY0656' then newkey = 'NY0654';

/* CENTRAL ISLIP     */
if year = 1987 and FSCSKEY = 'NY0657' then newkey = 'NY0655';

/* COLD SPRING HARBOR */
if year = 1987 and FSCSKEY = 'NY0658' then newkey = 'NY0656';

/* COMMACK           */
if year = 1987 and FSCSKEY = 'NY0659' then newkey = 'NY0657';

/* COPIAGUE          */
if year = 1987 and FSCSKEY = 'NY0660' then newkey = 'NY0658';

/* CUTCHOGUE         */
if year = 1987 and FSCSKEY = 'NY0661' then newkey = 'NY0659';

/* DEER PARK         */
if year = 1987 and FSCSKEY = 'NY0662' then newkey = 'NY0660';

/* DIX HILLS         */
if year = 1987 and FSCSKEY = 'NY0663' then newkey = 'NY0661';

/* EAST HAMPTON      */
if year = 1987 and FSCSKEY = 'NY0664' then newkey = 'NY0662';

/* EAST ISLIP        */
if year = 1987 and FSCSKEY = 'NY0665' then newkey = 'NY0663';

/* FISHERS ISLAND    */
if year = 1987 and FSCSKEY = 'NY0666' then newkey = 'NY0664';

/* GREENLAWN         */
if year = 1987 and FSCSKEY = 'NY0667' then newkey = 'NY0665';

/* GREENPORT         */
if year = 1987 and FSCSKEY = 'NY0668' then newkey = 'NY0666';

/* HAMPTON BAYS      */
if year = 1987 and FSCSKEY = 'NY0669' then newkey = 'NY0667';

/* HOLBROOK          */
if year = 1987 and FSCSKEY = 'NY0670' then newkey = 'NY0668';

/* HUNTINGTON        */
if year = 1987 and FSCSKEY = 'NY0671' then newkey = 'NY0669';

/* HUNTINGTON STATION */
if year = 1987 and FSCSKEY = 'NY0672' then newkey = 'NY0670';

/* ISLIP             */
if year = 1987 and FSCSKEY = 'NY0673' then newkey = 'NY0671';

/* LINDENHURST       */
if year = 1987 and FSCSKEY = 'NY0674' then newkey = 'NY0672';

/* MATTITUCK         */
if year = 1987 and FSCSKEY = 'NY0675' then newkey = 'NY0673';

/* MIDDLE ISLAND     */
if year = 1987 and FSCSKEY = 'NY0676' then newkey = 'NY0674';

/* MONTAUK           */
if year = 1987 and FSCSKEY = 'NY0677' then newkey = 'NY0675';

/* NORTH BABYLON     */
if year = 1987 and FSCSKEY = 'NY0678' then newkey = 'NY0676';

/* NORTHPORT         */
if year = 1987 and FSCSKEY = 'NY0679' then newkey = 'NY0677';

/* PATCHOGUE         */
if year = 1987 and FSCSKEY = 'NY0680' then newkey = 'NY0678';

/* PORT JEFFERSON    */
if year = 1987 and FSCSKEY = 'NY0681' then newkey = 'NY0679';

/* PORT JEFFERSON ST */
if year = 1987 and FSCSKEY = 'NY0682' then newkey = 'NY0680';

/* QUOGUE            */
if year = 1987 and FSCSKEY = 'NY0683' then newkey = 'NY0681';

/* RIVERHEAD         */
if year = 1987 and FSCSKEY = 'NY0684' then newkey = 'NY0682';

/* SAG HARBOR        */
if year = 1987 and FSCSKEY = 'NY0685' then newkey = 'NY0683';

/* SAYVILLE          */
if year = 1987 and FSCSKEY = 'NY0686' then newkey = 'NY0684';

/* SETAUKET          */
if year = 1987 and FSCSKEY = 'NY0687' then newkey = 'NY0685';

/* SHELTER ISLAND    */
if year = 1987 and FSCSKEY = 'NY0688' then newkey = 'NY0686';

/* SHIRLEY           */
if year = 1987 and FSCSKEY = 'NY0689' then newkey = 'NY0687';

/* SHOREHAM          */
if year = 1987 and FSCSKEY = 'NY0690' then newkey = 'NY0688';

/* SMITHTOWN         */
if year = 1987 and FSCSKEY = 'NY0691' then newkey = 'NY0689';

/* SOUTHAMPTON       */
if year = 1987 and FSCSKEY = 'NY0692' then newkey = 'NY0690';

/* SOUTHOLD          */
if year = 1987 and FSCSKEY = 'NY0693' then newkey = 'NY0691';

/* WEST BABYLON      */
if year = 1987 and FSCSKEY = 'NY0694' then newkey = 'NY0692';

/* WEST ISLIP        */
if year = 1987 and FSCSKEY = 'NY0695' then newkey = 'NY0693';

/* WESTHAMPTN BEACH  */
if year = 1987 and FSCSKEY = 'NY0696' then newkey = 'NY0694';

/* WYANDACH          */
if year = 1987 and FSCSKEY = 'NY0697' then newkey = 'NY0695';

/* ALBANY (UPPER HUDSON) */
if year = 1987 and FSCSKEY = 'NY0698' then newkey = 'NY0696';

/* ALBANY (PL)       */
if year = 1987 and FSCSKEY = 'NY0699' then newkey = 'NY0697';

/* ALTAMONT          */
if year = 1987 and FSCSKEY = 'NY0700' then newkey = 'NY0698';

/* BERNE             */
if year = 1987 and FSCSKEY = 'NY0701' then newkey = 'NY0699';

/* COHOES            */
if year = 1987 and FSCSKEY = 'NY0702' then newkey = 'NY0700';

/* LOUDONVILLE       */
if year = 1987 and FSCSKEY = 'NY0703' then newkey = 'NY0701';

/* DELMAR            */
if year = 1987 and FSCSKEY = 'NY0704' then newkey = 'NY0702';

/* GUILDERLAND       */
if year = 1987 and FSCSKEY = 'NY0705' then newkey = 'NY0703';

/* MENANDS           */
if year = 1987 and FSCSKEY = 'NY0706' then newkey = 'NY0704';

/* RAVENA            */
if year = 1987 and FSCSKEY = 'NY0707' then newkey = 'NY0705';

/* RENSSELAERVILLE   */
if year = 1987 and FSCSKEY = 'NY0708' then newkey = 'NY0706';

/* VOORHEESVILLE     */
if year = 1987 and FSCSKEY = 'NY0709' then newkey = 'NY0707';

/* WATERVLIET        */
if year = 1987 and FSCSKEY = 'NY0710' then newkey = 'NY0708';

/* WESTERLO          */
if year = 1987 and FSCSKEY = 'NY0711' then newkey = 'NY0709';

/* BERLIN            */
if year = 1987 and FSCSKEY = 'NY0712' then newkey = 'NY0710';

/* CASTLETON-ON-HUDSON */
if year = 1987 and FSCSKEY = 'NY0713' then newkey = 'NY0711';

/* RENSSELAER (EAST GREENBUSH) */
if year = 1987 and FSCSKEY = 'NY0714' then newkey = 'NY0712';

/* GRAFTON           */
if year = 1987 and FSCSKEY = 'NY0715' then newkey = 'NY0713';

/* HOOSICK FALLS     */
if year = 1987 and FSCSKEY = 'NY0716' then newkey = 'NY0714';

/* NASSAU            */
if year = 1987 and FSCSKEY = 'NY0717' then newkey = 'NY0715';

/* PETERSBURG        */
if year = 1987 and FSCSKEY = 'NY0718' then newkey = 'NY0716';

/* RENSSELAER (PL)   */
if year = 1987 and FSCSKEY = 'NY0719' then newkey = 'NY0717';

/* SCHAGHTICOKE      */
if year = 1987 and FSCSKEY = 'NY0720' then newkey = 'NY0718';

/* STEPHENTOWN       */
if year = 1987 and FSCSKEY = 'NY0721' then newkey = 'NY0719';

/* TROY              */
if year = 1987 and FSCSKEY = 'NY0722' then newkey = 'NY0720';

/* VALLEY FALLS      */
if year = 1987 and FSCSKEY = 'NY0723' then newkey = 'NY0721';

/* WEST SAND LAKE    */
if year = 1987 and FSCSKEY = 'NY0724' then newkey = 'NY0722';

/* WYANANTSKILL      */
if year = 1987 and FSCSKEY = 'NY0725' then newkey = 'NY0723';

/* ELMSFORD          */
if year = 1987 and FSCSKEY = 'NY0726' then newkey = 'NY0724';

/* ARDSLEY           */
if year = 1987 and FSCSKEY = 'NY0727' then newkey = 'NY0725';

/* ARMONK            */
if year = 1987 and FSCSKEY = 'NY0728' then newkey = 'NY0726';

/* BEDFORD           */
if year = 1987 and FSCSKEY = 'NY0729' then newkey = 'NY0727';

/* BEDFORD HILLS     */
if year = 1987 and FSCSKEY = 'NY0730' then newkey = 'NY0728';

/* BEDFORD HILLS     */
if year = 1987 and FSCSKEY = 'NY0730' then newkey = 'NY0728';

/* BRIARCLIFF MANOR  */
if year = 1987 and FSCSKEY = 'NY0731' then newkey = 'NY0729';

/* BRONXVILLE        */
if year = 1987 and FSCSKEY = 'NY0732' then newkey = 'NY0730';

/* CHAPPAQUA         */
if year = 1987 and FSCSKEY = 'NY0733' then newkey = 'NY0731';

/* CROTON-ON-HUDSON  */
if year = 1987 and FSCSKEY = 'NY0734' then newkey = 'NY0732';

/* DOBBS FERRY       */
if year = 1987 and FSCSKEY = 'NY0735' then newkey = 'NY0733';

/* EASTCHESTER       */
if year = 1987 and FSCSKEY = 'NY0736' then newkey = 'NY0734';

/* ELMSFORD          */
if year = 1987 and FSCSKEY = 'NY0737' then newkey = 'NY0735';

/* HARRISON          */
if year = 1987 and FSCSKEY = 'NY0738' then newkey = 'NY0736';

/* HASTINGS-ON-HUDSON */
if year = 1987 and FSCSKEY = 'NY0739' then newkey = 'NY0737';

/* IRVINGTON         */
if year = 1987 and FSCSKEY = 'NY0740' then newkey = 'NY0738';

/* KATONAH           */
if year = 1987 and FSCSKEY = 'NY0741' then newkey = 'NY0739';

/* LARCHMONT         */
if year = 1987 and FSCSKEY = 'NY0742' then newkey = 'NY0740';

/* MAMARONECK        */
if year = 1987 and FSCSKEY = 'NY0743' then newkey = 'NY0741';

/* MONTROSE          */
if year = 1987 and FSCSKEY = 'NY0744' then newkey = 'NY0742';

/* MOUNT KISCO       */
if year = 1987 and FSCSKEY = 'NY0745' then newkey = 'NY0743';

/* MOUNT VERNON      */
if year = 1987 and FSCSKEY = 'NY0746' then newkey = 'NY0744';

/* NEW ROCHELLE      */
if year = 1987 and FSCSKEY = 'NY0747' then newkey = 'NY0745';

/* NORTH SALEM       */
if year = 1987 and FSCSKEY = 'NY0748' then newkey = 'NY0746';

/* OSSINING          */
if year = 1987 and FSCSKEY = 'NY0749' then newkey = 'NY0747';

/* PEEKSKILL         */
if year = 1987 and FSCSKEY = 'NY0750' then newkey = 'NY0748';

/* PELHAM            */
if year = 1987 and FSCSKEY = 'NY0751' then newkey = 'NY0749';

/* PLEASANTVILLE     */
if year = 1987 and FSCSKEY = 'NY0752' then newkey = 'NY0750';

/* PORT CHESTER      */
if year = 1987 and FSCSKEY = 'NY0753' then newkey = 'NY0751';

/* POUND RIDGE       */
if year = 1987 and FSCSKEY = 'NY0754' then newkey = 'NY0752';

/* PURCHASE          */
if year = 1987 and FSCSKEY = 'NY0755' then newkey = 'NY0753';

/* RYE               */
if year = 1987 and FSCSKEY = 'NY0756' then newkey = 'NY0754';

/* SCARSDALE         */
if year = 1987 and FSCSKEY = 'NY0757' then newkey = 'NY0755';

/* SOMERS            */
if year = 1987 and FSCSKEY = 'NY0758' then newkey = 'NY0756';

/* SOUTH SALEM       */
if year = 1987 and FSCSKEY = 'NY0759' then newkey = 'NY0757';

/* TARRYTOWN         */
if year = 1987 and FSCSKEY = 'NY0760' then newkey = 'NY0758';

/* TUCKAHOE          */
if year = 1987 and FSCSKEY = 'NY0761' then newkey = 'NY0759';

/* WHITE PLAINS      */
if year = 1987 and FSCSKEY = 'NY0762' then newkey = 'NY0760';

/* YONKERS           */
if year = 1987 and FSCSKEY = 'NY0763' then newkey = 'NY0761';

/* SHRUB OAK         */
if year = 1987 and FSCSKEY = 'NY0764' then newkey = 'NY0762';

/* NEW YORK (PL)     */
if year = 1993 and FSCSKEY = 'NY0772' then newkey = 'NY0778';


November 22, 2022