Languish.org

General Category => Off the Record => Topic started by: Syt on April 08, 2020, 11:14:37 AM

Title: Anyone here know COBOL? Your country needs you!
Post by: Syt on April 08, 2020, 11:14:37 AM
https://onezero.medium.com/our-government-runs-on-a-60-year-old-coding-language-and-now-its-falling-apart-61ec0bc8e121

QuoteOur Government Runs on a 60-Year-Old Coding Language, and Now It's Falling Apart

Over the weekend, New Jersey governor, Phil Murphy, made an unusual public plea during his daily coronavirus briefing: The state was seeking volunteer programmers who know COBOL, a 60-year old programming language that the state's unemployment benefits system is built on. Like every state across the nation, New Jersey was being flooded with unemployment claims in the wake of the coronavirus pandemic. And New Jersey's data processing systems were unprepared.

"We literally have a system that is 40-plus years old," Murphy said.

To COBOL programmers, it was a familiar ask. In times of bureaucratic crisis over the last 50 years, Americans have been faced time and time again with the dusty, dated systems that undergird much of our government, and economy. In response to Y2K, when it was unclear whether the date of the new millennium might cause cascading errors across the entire world's computing systems, legions of programmers fluent in largely forgotten languages like COBOL were specifically hired to fix government and enterprise code. As a result, Y2K was largely a nonissue.

Over 20 years later, much of the state, federal, and banking systems still run on these very same programming languages.

New Jersey isn't the only state that depends on COBOL. Connecticut's computer systems for processing unemployment also runs on it, the state's governor said last week, which is causing weeks-long processing delays. Connecticut and four other states are creating a joint effort to recruit retired COBOL programmers who can update the state software.

The scarcity of COBOL programmers has led to increased interest in startups like COBOL Cowboys, made up of older, experienced programmers who have the know-how to operate these systems.
COBOL debuted in 1960 and was largely used on IBM mainframes for business tasks like accounting. IBM continues to sell mainframes compatible with COBOL.

The Government Accountability Office has repeatedly warned about the use of legacy programming languages for critical systems. In 2019, the GAO issued a report summarizing 10 federal computing systems that were in desperate need of an overhaul. For instance, the Department of Education's system for processing federal student aid applications was implemented in 1973. It takes 18 contractors to maintain the system, and since it's written in COBOL, it requires specific hardware and is difficult to integrate with newer software languages.

GAO considers COBOL a legacy language, which means agencies have trouble finding staff that knows how to write the code at all. And when they can, the specialist contractors charge a premium.

It also means that when a system breaks, there might not be somebody there to fix it. And that's where New Jersey finds itself now, with a sagging system and lack of qualified engineers.

Despite its age, and the fact that so many programmers have moved onto C and Java, COBOL is still a widely used programming language. It's tried and true, which is partly why it was so widely adopted by banks and governments in the second half of the 20th century.

Today, nearly half the world's banking systems run on COBOL, according to Reuters, and more than 80% of card-based transactions use the code.

"I show COBOL programs written in 1960 that you can still compile and run today," says J. Ray Scott, a professor at Carnegie Mellon University, and one of the few professors who still teaches COBOL.

"I would hate to be a bank and have Python, and Python 3 came out and broke everything, and then we have to recompile all our code," he said.

Scott attributes the lack of COBOL programmers to a number of issues, from the absence of an open-source version of the software in the '80s and '90s to the simple appeal of newer databases that natively connect to the internet.

"There was a period of 20 years where people were sure COBOL was dead, so there was nobody teaching it, nobody learning it," he said. "COBOL started before there were disc drives, let alone the internet."

A sliver of hope, Scott says, is that COBOL isn't a particularly complex language to learn. When he was starting his career programming for steel mills in Pittsburgh, he says companies would perform aptitude tests for workers on the floors of the mills. If they passed, they were sent to a two-week COBOL class at IBM and then put onto the job in the IT department.

Bill Hinshaw, who runs COBOL Cowboys, says that the 60-year old programming language still has some life in it, especially in industries where it's inexorably linked to critical functions. In his experience, governments are simply working with older versions of software and hardware, compared to banks and other industries.

"We're dealing with more and more people who want to modernize COBOL," Hinshaw says. "COBOL is not going away."

Still, governments relying on a system too arcane for most working engineers can be perceived as a structural failure. Murphy's plea for COBOL engineers is also a sign that local, state, and federal governments have overwhelmingly failed to update their technologies to meet the needs of citizens.

"There will be lots of postmortems," after the coronavirus passes, Murphy said in his address to New Jersey. One of them on our list will be, 'How the heck did we get here where we literally needed COBOL programmers?'"
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: Iormlund on April 08, 2020, 12:39:43 PM
Things like bank or satellite systems maintenance have the same issue.

It is simply not a good strategy to specialize in an obsolete language. If your employer goes down, lays you off or upgrades, you are fucked.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: The Brain on April 08, 2020, 12:43:56 PM
How long does it take for a programmer to get into COBOL? They make it sound like it's some trained-from-birth wizard academy thing.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: Caliga on April 08, 2020, 01:00:03 PM
Even ten years ago, finding a COBOL programmer who wasn't dead or retired was quite a challenge.  Good luck New Jersey!
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: HisMajestyBOB on April 08, 2020, 01:07:35 PM
Quote from: The Brain on April 08, 2020, 12:43:56 PM
How long does it take for a programmer to get into COBOL? They make it sound like it's some trained-from-birth wizard academy thing.

Syt's article says the language isn't hard to learn.
My hunch is that they're not offering enough money or business for anyone to learn COBOL over other, more useful and in demand languages.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: Threviel on April 08, 2020, 01:27:24 PM
I'm working with a data base guy on an assembly project right now. It's going well and if that's possible Cobol should be a cakewalk.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: Habbaku on April 08, 2020, 01:45:45 PM
Quote from: HisMajestyBOB on April 08, 2020, 01:07:35 PM
Quote from: The Brain on April 08, 2020, 12:43:56 PM
How long does it take for a programmer to get into COBOL? They make it sound like it's some trained-from-birth wizard academy thing.

Syt's article says the language isn't hard to learn.
My hunch is that they're not offering enough money or business for anyone to learn COBOL over other, more useful and in demand languages.

That was my impression as well. If they are truly desperate, they'd be offering a commensurate price and start attracting at least a small amount of self-learners to go for it, surely?
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: The Brain on April 08, 2020, 02:07:00 PM
Quote from: HisMajestyBOB on April 08, 2020, 01:07:35 PM
Quote from: The Brain on April 08, 2020, 12:43:56 PM
How long does it take for a programmer to get into COBOL? They make it sound like it's some trained-from-birth wizard academy thing.

Syt's article says the language isn't hard to learn.
My hunch is that they're not offering enough money or business for anyone to learn COBOL over other, more useful and in demand languages.

Then the problem is easy to solve, at least.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: Iormlund on April 08, 2020, 03:28:12 PM
Quote from: HisMajestyBOB on April 08, 2020, 01:07:35 PM
My hunch is that they're not offering enough money or business for anyone to learn COBOL over other, more useful and in demand languages.

Quick googling says average senior dev salary is the same as in the rest of the industry (US). So, yeah, if you offer no premium to attract people to a legacy language there will be a shortage. Duh.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: miozozny on April 08, 2020, 04:02:10 PM
Quote from: HisMajestyBOB on April 08, 2020, 01:07:35 PM
Quote from: The Brain on April 08, 2020, 12:43:56 PM
How long does it take for a programmer to get into COBOL? They make it sound like it's some trained-from-birth wizard academy thing.

Syt's article says the language isn't hard to learn.
My hunch is that they're not offering enough money or business for anyone to learn COBOL over other, more useful and in demand languages.

It's not hard to learn, but then you have to maintain a 50 year old custom made system with probably almost no documentation. It will take more time understanding that than Cobol itself.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: Maximus on April 08, 2020, 05:10:38 PM
Quote from: The Brain on April 08, 2020, 12:43:56 PM
How long does it take for a programmer to get into COBOL? They make it sound like it's some trained-from-birth wizard academy thing.
If it's like most other languages, a few weeks to a month to get started, 10 years to become an expert
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: Razgovory on April 08, 2020, 07:57:01 PM
Cobol was my dad's specialty.  He had a somewhat elitist attitude that Mainframes were "real" computers and desktops were just toys.  That wasn't even true when he first became a programmer in the early 1980's.  He lost his job around 2013.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: DGuller on April 08, 2020, 08:01:42 PM
Quote from: Maximus on April 08, 2020, 05:10:38 PM
Quote from: The Brain on April 08, 2020, 12:43:56 PM
How long does it take for a programmer to get into COBOL? They make it sound like it's some trained-from-birth wizard academy thing.
If it's like most other languages, a few weeks to a month to get started, 10 years to become an expert
:yes: This is something that people who say "once you learn one language, you can learn them all" miss.  It's one thing to be familiar with the language, it's another thing altogether to be productive with it, and the latter takes a shitload of experience.
Title: Re: Anyone here know COBOL? Your country needs you!
Post by: KRonn on April 14, 2020, 03:02:32 PM
I took a few courses of Cobol in college night school, but that's it. Never learned it well enough to work with it, just for course work.