Neither is going to help. The problem with legacy apps written in COBOL is that they're legacy apps, not that they're written in COBOL.
It's like the Niesen-Stairway-Run. The real problem is not that the run is in a stairway, the problem is that the stairway in question is made to follow the contour of a mountain-side that climbs 1.6 km across 3.4 km.