IBM plans to invest $40 million over the next five years to promote SAP applications on the System z mainframe.