The code is fine. The bench is not
IBM and others continue to support and develop COBOL compilers, so there is no end-of-support cliff. What there is instead is a maintenance population heading for retirement, and almost no new entrants. Risk arrives through the org chart, not the release notes.