Why do you think they are teetering? The COBOL programs are well tested and working almost flawlessly.
As to not being used outside the government, you seem to be ill informed as to that as well.
SSA's programs have to follow the law which has a lot of anal and pedantic rules.
COBOL is used in all major banks -
Then this is from 2000 and explains why the attempt to rewrite the SSA code in a new language will fail if they attempt to do it in a 6 month time frame. There is a reason why SS spent 3 years to start to rewrite and weren't able to complete it before priorities changed and they dropped it.
Netscape 6.0 is finally going into its first public beta. There never was a version 5.0. The last major release, version 4.0, was released almost three years ago. Three years is an awfully long tim…
www.joelonsoftware.com
There’s a subtle reason that programmers always want to throw away the code and start over. The reason is that they think the old code is a mess. And here is the interesting observation: they are probably wrong. The reason that they think the old code is a mess is because of a cardinal, fundamental law of programming:
It’s harder to read code than to write it.
[snip]
The idea that new code is better than old is patently absurd. Old code has been used. It has been tested. Lots of bugs have been found, and they’ve been fixed. There’s nothing wrong with it. It doesn’t acquire bugs just by sitting around on your hard drive.
..
[A simple piece of code] but it has grown little hairs and stuff on it and nobody knows why. Well, I’ll tell you why: those are bug fixes. One of them fixes that bug that Nancy had when she tried to install the thing on a computer that didn’t have Internet Explorer. Another one fixes that bug that occurs in low memory conditions. Another one fixes that bug that occurred when the file is on a floppy disk and the user yanks out the disk in the middle. That LoadLibrary call is ugly but it makes the code work on old versions of Windows 95.
Each of these bugs took weeks of real-world usage before they were found. The programmer might have spent a couple of days reproducing the bug in the lab and fixing it. If it’s like a lot of bugs, the fix might be one line of code, or it might even be a couple of characters, but a lot of work and time went into those two characters.
When you throw away code and start from scratch, you are throwing away all that knowledge. All those collected bug fixes. Years of programming work.
DOGE doesn't have a clue as to what the many COBOL programs are supposed to do and what legal requirements it must meet for security and access and how benefits are to be calculated and distributed. They won't be able to figure out all that from the existing code and AI will be even worse at it.