I visited a workshop a few weeks ago, and also attending was a COBOL programmer (in his 50s) who still was active on that platform.
I wonder whether it could be lucrative to learn COBOL (and CICS!) and work on those legacy systems that are still out there.
"While CICS has its highest profile among financial institutions such as banks and insurance companies, over 90 percent of Fortune 500 companies are reported to run CICS along with many government entities." - Wikipedia