There is no reason to discontinue their mainframe business. Banks and other institutions have applications running successfully on those platforms. The industry has learned that it is better to integrate applications than to replace—especially when the replacement is a 40 year old app that runs the business.
IBM’s mainframe margins are safe for decades to come.