Bank of America will close an operations center in Elma this summer, as the bank's lease expires, in a move that affects 170 of the 252 jobs there.