That's about how much it cost my company to move the flagship off of z/OS. That kept the language (Cobol) and DB2 intact (moved to DB2LUW); just a new build target basically.
It took like 5 or 6 years and that $10M represents the cost of only 10 months of operations on Z.