An iconic figure of the early history of computing, Grace Hopper is the grandmother of the COBOL programming language. Of her many claims to fame, she invented the first compiler and helped spread the adoption of machine-independent programming languages. Today her legacy lives on in many ways, including the Grace Hopper Celebration of Women in Computing.
While Hopper contributions to computing are remembered, celebrated, and built upon by her successors, COBOL itself is often dismissed as a relic of earlier era of computing. To a certain extent, that is true. Most of the COBOL being written today is for maintaining legacy code, not starting new projects. However, the language is still being updated with COBOL 2014 being the most recent standard for the language, and there are still plenty of opportunities to apply for jobs that require COBOL experience.
Thankfully, using COBOL in modern times does not require tracking down legacy hardware. There are several tools available that make using COBOL on modern computers as straightforward as using other programming languages. Below, I take a look at three open source projects that help you code, compile, and use COBOL on a Mac, Linux, or Windows computer. So grab a book on COBOL programming, (if you need one, Beginning COBOL for Programmers by Michael Coughlan is an excellent choice), and start exploring the world of COBOL. No punch cards required.
Is COBOL the last, best hope for an aging programmer in today's world?
Related Stories
The Enterprises Project writes about how the demand for several very specific, established skills, including COBOL, is increasing as boomers retire, taking their knowledge with them. Part of the skill gap between the old and the new is familiarity with the work flow and business processes.
Baby Boomers are retiring and taking with them the skills to run legacy technologies upon which organizations still (amazingly) rely – from AS/400 wrangling to COBOL development. That leaves many CIOs in a tight spot, trying to fill roles that not only require specialized knowledge no longer being taught but that most IT professionals agree also have limited long-term prospects. "Specific skill sets associated with mainframes, DB2 and Oracle, for example, are complex and require years of training, and can be challenging to find in young talent," says Graig Paglieri, president of Randstad Technologies.
Apparently, COBOL is still in use in 9 percent of businesses, mainly in finance and government. And so the demand for COBOL is gradually growing. If one has interest to pick up that plus one or more of the other legacy technologies, on top of something newer and trendier, there should be a possibility to clean up before the last of these jobs moves to India.
Earlier on SN:
Jean Sammet, Co-Designer of a Pioneering Computer Language, Dies at 89 (2017)
Banks Should Let Ancient Programming Language COBOL Die (2017)
Honesty in Employment Ads (2016)
3 Open Source Projects for Modern COBOL Development
(2015)
(Score: 5, Informative) by frojack on Friday October 16 2015, @04:19AM
There are essentially two companies, in the PC COBOL market these days, MicroFocus, who has bought up RM, AccuCOBOL, and is quietly winding them down to preserve their own compiler. MicroFocus is a mercenary bloodsucking company that has raised the price of a COBOL compiler beyond all reason, and used the proceeds to buy Suse Linux.
Then there is Fujitsu, who have used several marketing firms to sell their Fujitsu COBOL. Cheaper, better, but it does not seem to have Fujitsu's attention
Then there is OpenCobol, now called GnuCOBOL, also marketed commercially COBOL-IT. Not really a compiler, its just a translator to C. There are a couple of toy compilers as well.
I've had to use most of these over the years in various contracting jobs. Plus a couple others that folded along the way.
Many of those jobs were indeed maintenance, but others were moving major mainframe systems down to the PC and/or new development on networked PCs with graphical user interfaces.
No, you are mistaken. I've always had this sig.
(Score: 0) by Anonymous Coward on Friday October 16 2015, @05:40AM
Well, there's always PL/I.
(Score: 3, Insightful) by PizzaRollPlinkett on Friday October 16 2015, @10:47AM
PL/I is still widely used in Europe. For some reason, it caught on there. PL/I is a syntax mashup of COBOL's data and record processing and Pascal's block syntax. If you shudder when you read that, you're about right. The COBOL-like data layouts make the language ugly.
(E-mail me if you want a pizza roll!)
(Score: 2) by Nerdfest on Friday October 16 2015, @11:00AM
COBOL's only redeeming feature is to make people feel better about writing JavaScript and PHP.
(Score: 3, Informative) by PizzaRollPlinkett on Friday October 16 2015, @02:21PM
I know what you mean, but COBOL is more like C than it is PHP (or JavaScript). If you ever look at the instruction set and data formats of mainframe assembler, COBOL starts making sense as a badly done wrapper over assembler instructions and data formats. Almost every COBOL statement maps directly to an assembler construct. The bizarre 01 levels in the DATA DIVISION map to assembler DSECTs nicely (a DSECT is like a C struct), and the weird formats with implied decimals, packed decimals, machine words, and even character strings all map to machine data formats. To understand COBOL, you have to really look at assembler. That's why COBOL seems so atrocious these days, because people who learn it don't learn it in the context where it makes the most sense. I think that's a big reason why COBOL isn't used much today outside CICS transactions and other mainframe stuff. Like APL, the COBOL language doesn't map very well to modern computers (or modern brains!). All these weird data formats don't exist any longer, at least not on your typical Intel processor.
(E-mail me if you want a pizza roll!)
(Score: 2) by Nerdfest on Friday October 16 2015, @11:24PM
"badly done wrapper" is a vast understatement. The amount of overhead for expressing a simple idea makes a fairly simple program in COBOL into a novel. While I understand that this bloated wrapper lets a large number of people write code, the problem this causes is that a large number of people write code; people that really shouldn't be. I have seem worse messes created in COBOL than in anything else, although PHP does come in close on occasion. JavaScript is working its way up as well, but is not there yet. I thin the barrier to entry is a little higher.
I general, I think a good programming language has an optimal level of terseness that allows ideas to be expressed efficiently, but in a manner that can be easily understood later. Machine code is at one end and COBOL is at the other.
(Score: 2) by PizzaRollPlinkett on Friday October 16 2015, @10:41AM
Open source COBOL doesn't seem to matter much. Anyone who uses COBOL today is probably a CICS programmer on a mainframe. COBOL is IBM's glue language that has the bindings, copy books, and toolchain to talk to IBM's back-end stuff like DB2, IMS, VSAM, and so on. Without all that stuff, COBOL by itself is not very interesting. Even in mainframe shops, most new development is in Java for IBM WebSphere, using message queues to send transactions to back-end CICS batch for processing. If COBOL is used anywhere but maintaining business logic in CICS transactions, it's vanishingly small.
(E-mail me if you want a pizza roll!)
(Score: 0) by Anonymous Coward on Friday October 16 2015, @01:54PM
I'm not too interested in COBOL or ALGOL, but how about Forth, APL, Pascal? Any open source projects with a significant user base?
(Score: 3, Informative) by PizzaRollPlinkett on Friday October 16 2015, @02:24PM
As far as dead languages go, Free Pascal is alive and well: http://www.freepascal.org/ [freepascal.org] (Free Pascal even compiles Delphi code now, so it has a user base of abandoned Delphi users.)
APL's niche is dominated by R now, since APL doesn't map well to the standard 101-key keyboard. R is today's matrix transformation language, filling the same space that APL used to fill. And R has a strange syntax, too.
Not sure about Forth. Haven't seen that one in a long time.
(E-mail me if you want a pizza roll!)
(Score: 2) by turgid on Friday October 16 2015, @08:56PM
I've got the Android port if GNU FORTH on my phone.
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].
(Score: 2) by c0lo on Friday October 16 2015, @02:25PM
Fear not. 2-3 years down the road and you can include C/C++ into esoteric languages (from the PoV of professionals availability).
Long live nodejs (and gamemaker, you insolent insects)
(grin)
https://www.youtube.com/@ProfSteveKeen https://soylentnews.org/~MichaelDavidCrawford
(Score: 0) by Anonymous Coward on Friday October 16 2015, @09:40PM
Ok, why is this even relevant? Even when i was doing it for a living back in the 80's it was on the big iron, and i have never seen anyone that has used COBOL outside of that world. Not saying it didnt happen since there were ( are? ) commercial PC implementations, but i still cant name one person that used them.
Unless you just want to keep your skills fresh so you can get a job, i dont see a point.