Ask HN: Has anybody right here discovered COBOL for enjoyable? How did it go?

![]() |
|
While much-maligned, what JCL (and software like CLISTs and REXX for interactive processing) brings to the table in the mainframe world is a STANDARD way for programmers to not only decouple code and the data resources the code will process, but also a wealth of other functionality, including job accounting, priority, job classes, network routing of jobs & resources, conditional execution, run-time library management, resource caps, output management, catalog management & file disposition, real temporary files, file versioning (GDGs), storage & device management including tape, procedures, includes, symbolic variables, checkpoint restarts, etc.).
In non-mainframe realms, while the good news is that there’s no JCL, the bad news is that individuals and companies have pretty much reinvented the JCL wheel over and over again, creating their own hodgepodge of unique, non-standard efforts to deliver smidgeons of similar functionality hacked together from a mix of shell scripting, environment variables, YAML, JSON, other config files, manual prompting, third-party libraries and software, and even hard-coding resources in programs. Grass is always greener, as they say. 🙂 https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pag… |
![]() |
|
I did an internship in 2009-2010 with a company who used MicroFocus “AcuCOBOL” to modernize a green-screen automotive dealership management system into a Windows GUI.
I wouldn’t say I did it for fun, but I did do it for the learning experience. My university was very invested in COBOL, and I had classmates who got offers much larger than mine to work for various finance companies in Wisconsin, so I had already learned the basics of language. It’s hard for me to separate the COBOL from all of the other dysfunctional things going on at the company. I knew that the language was a dead-end and did not want to get stuck with it. Not because I didn’t like the language, but because I was 21 and “Web 2.0” was in full swing and I knew I wanted to do something “cool”. Migrating data files to new descriptors was always a stressful time. The equivalent of a database schema change, but you had to load the old files and rewrite in the new format largely manually. The tooling we used felt dated, but worked well enough. Better than the tools we used in school. I always used “Murach’s Structured COBOL” [1] as my primary reference. Carried that book just about everywhere during that time. [1]: Murach’s Structured COBOL https://a.co/d/hONfFT7 |
![]() |
|
I had a COBOL class in school and I enjoyed. At the time I didn’t think about it, but today it feels more like a DSL than a general purpose programming language.
|