It might be my area. Most COBOL infa got replaced or is on life support. But I did happen to see the good stuff once in a while. There’s a reason it was not touched.
A small part of me thinks it might be the place to retire. Working on old code bases.
I used to work with COBOL. The language isn’t terrible, it’s the 40+ years of no context changes that suck. It even works with SQL… although the most common configuration is using a flat file.
Man I used to love Ubuntu. Then snaps…and it broke a lot of things. Now I’m on other oses. But I appreciate what they did to the Debian flavors of distos.
Try opencobol. You may have more success.
Some cobols like rm COBOL require a literal custom Linux header in order to work with SQL. Others work with odbcs natively.