15 ms·
IBM COBOL for Linux on x86
- d_silin 6y agoThe lack of comments vs position on front page is intriguing.
- msgilligan 6y agoThere's nobody here (besides maybe me) old enough to have anything to say.
- d_silin 6y agoWell, I worked with COBOL developer team in Canadian bank a few years ago. It is absolutely alive and well in this industry.
- greenshackle2 6y agoAccording to my father it is alive and well in Canadian insurance as well. But he said where he worked they don't change the COBOL code much anymore, they add features by adding layers in other languages around the COBOL core.
- mrlonglong 6y agoIn th Culture books by the late much lamented Iain M. Banks, one of the oldest drones began life as a house minicomputer that over time accreted many programs and uncountable layers of software, achieved sentience by the time the Culture came about some 9,000 years later.
- aparsons 6y agoYou’re not alone - I worked with COBOL a decade or five ago.
- sigzero 6y agoI worked with it about 10 years ago.
- drivingmenuts 6y agoI used it back in the late 80s to handle bank account processing on a Burroughs mainframe. I got moved from a night shift sorter operator to a day shift maintenance programmer because I was literally the only available programmer in town. Had next to zero experience at the time, too.
- the_af 6y agoI worked with COBOL just in time to fix Y2K problems, and I still have nightmares about it -- not about Y2K, mind you, but about COBOL and banking systems. Such a horrible, horrible programming language.
- momothereal 6y agoThe post just went up, people are still writing their insightful essays on their experience with COBOL, what this means for the future of the language, and speculating as for the reason IBM is porting their compiler to Linux. Can't wait!
- msgilligan 6y agoI expected it to be Open Source, but it is not. I had a few jobs where I programmed in COBOL when I was in college. Its probably just as well that it's not Open Source, because I was tempted to install it just for fun.
- pabs3 6y agoGnuCOBOL is open source though: https://gnucobol.sourceforge.io/ https://gnucobol.sourceforge.io/
- deleted 6y ago[deleted]
- kazinator 6y ago> Memory requirements are as follows: > Minimum 250 MB for product packages > Minimum 2 GB of hard drive space for paging > Minimum 512 MB for temporary files > Minimum 2 GB RAM, with 4 GB more optimal Ouch; this ain't your grandpa's lean and mean Cobol.
- belter 6y agoIBM COBOL for Linux on x86 1.1 - Data Sheet: https://www.ibm.com/support/pages/system/files/inline-files/cobol_linux_x86_11_datasheet.pdf https://www.ibm.com/support/pages/system/files/inline-files/... - "Communication between COBOL and C/C++" - "Compatibility with Enterprise COBOL for z/OS and COBOL for AIX" Integrated with IBM CICS TX on Cloud 11.1 - "Certified Red Hat operators that can simplify deployment and management of CICS TX applications on Kubernetes"": https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=an&subtype=ca&appname=gpateam&supplier=872&letternum=ENUSAP21-0038 https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=...
- fnord77 6y agoprobably includes a hidden z/os emulator
- ajross 6y agoI'm just imagining the level of jaw dropping and brain exploding that would have gone on had that same headline been published in 1998. Obviously at this point almost three decades into the internet era no one really cares. We all know that "somewhere" old COBOL code is running, but in practice the companies managing the bulk of data for society didn't even exist before Y2K. Everyone with unmaintainable COBOL has long since migrated to really bad Java code instead. But... yeah. Linux is now an official heir to the S/360. We've made it. Finally.
- dragonwriter 6y ago> Everyone with unmaintainable COBOL has long since migrated to really bad Java code instead. I can assure you that’s not correct, as I work in an enterprise that has plenty of unmaintainable COBOL still running, though they’ve supplemented it with lots of really bad .NET code more recently.
- jussij 6y agoI too have seen lots of badly written .NET code out in the wild. However, as with most languages, that is more a measure of the quality of the developer, than the quality of the language. As a C++ developer now writing C# using .NET that new language and framework are a pleasure to work with.
- dragonwriter 6y ago> However, as with most languages, that is more a measure of the quality of the developer, than the quality of the language. No, it’s more a measure of the quality of the development organization and process. The quality of individual developers is a factor here, but not the only one and often not the limiting one on software quality (and particularly often not on, e g., whether or not business requirements and system design are documented in a useful way to support maintenance and change analysis.) There are lots of fairly common institutional factors at the kinds of shops that also tend to have lots of COBOL legacy code still running which also tend to result in instant-legacy code independent of platforms. They also have common in institutional patterns that tend to have platforms like Java and .NET. This is not an indictment of Java or .NET as platforms, or of the individual developers in those environments.
- usbline 6y agoReleases? It's not released yet. >Planned availability date: April 16, 2021
- api 6y agoRevive this? http://www.coboloncogs.org/INDEX.HTM http://www.coboloncogs.org/INDEX.HTM
- st_goliath 6y agoThere is also COBOL on Wheelchair: https://github.com/azac/cobol-on-wheelchair https://github.com/azac/cobol-on-wheelchair IIRC both of them where featured on the HN front page once.
- aparsons 6y agoCOBOL will always have a soft spot in my heart as the first programming language I learned. I did not use it much - 2 years max - but when reading COBOL it was really clear that there were some programmers who just saw code differently - in an abstract, artistic sense. It was the ultimate litmus test. COBOL is really easy to write spaghetti code with - perhaps even the default. But some of these programmers (not including myself back then admittedly) just wrote code that came together beautifully like a jigsaw puzzle. I’m sure if given a C++ or other language with modern features, they could do amazing things. This was before a time when Clean Code (capitalized on purpose) and such were in the zeitgeist. I didn’t appreciate the full beauty of these modular, generalized, programs until a decade or more later. I also didn’t realize that Z systems natively ran Linux. Must have missed that news. I suspect they’ll open source this soon - makes a lot of sense, if only for keeping consistency with their C/C++ work on Z systems. They are a big contributor to L.L.V.M in that area.
- IainIreland 6y agoI worked on the IBM COBOL compiler in a past life. It's not LLVM based; the optimizer and code generator are derived from J9, the IBM JVM. I would be a bit surprised if they open-sourced it; OpenJ9 is open-sourced, but the COBOL compiler for Z is one of those rare compilers that is still being sold to paying customers.
- aparsons 6y agoThanks for the insight. I strongly suspect the COBOL compiler buyers are really just buying ongoing support and updates. Open sourcing should result in minimal revenue impact, but shared code might make it quite problematic license wise. Wouldn’t blame them for turning down that headache.
- CountHackulus 6y agoDid I work with you!? I also worked on the COBOL backend for TR. And yeah, I'd also be HIGHLY surprised if it ever got open-sourced.
- 6y ago
- keyle 6y ago> supports one of the following operating systems Redhat and Ubuntu. Is that a common thing for software to be marked as "available for Linux" but only supported for 2 flavours? I guess it's fair, a debian and rhel base would cover "most" use cases.
- porphyra 6y ago> Is that a common thing for software to be marked as "available for Linux" but only supported for 2 flavours? Very common. For example Steam for Linux only really supports Ubuntu. In my experience, extracting stuff from debs and rpms to run on, say, Arch Linux was very easy, using debtap, rpmextract, etc.
- wongarsu 6y agoToo often "supports linux" means "supports Ubuntu, might work on other debian based distros". But I can't blame people for not wanting to support every distro under the moon
- zarq 6y agoThe key word here is "support". Will it run? Probably. Is some IBM support engineer going to help you if you tried it on some other distro? No.
- mcpherrinm 6y agoIn the enterprise software world: yes. Remember, this is not open source. They probably only test on those two platforms, and compile against the libraries for them. Could you make it work on other distributions? Sure. Certainly in a docker container or chroot.
- alerighi 6y agoYou can make it a static binary and thus make it portable on all distributions that have a minimum specified kernel version. Or you can use formats like AppImage that are designed to encapsulate a program into an image that can be run as a normal executable, without depending on the distribution but again only on the kernel.
- theodric 6y ago'Ordering information' Yeah, IBM is still IBM.
- m463 6y agoI remember years ago there was a contest for the most error messages from the fewest lines of code from a compiler. I believe you could get the IBM COBOL compiler to generate 600 lines of error messages if you put a single period in column 6. Of course times have changed and I don't know how to get a punched card into a linux machine. :)
- mjcohen 6y agoFive spaces and a period.
- m463 6y agowith a proper drum card, you could just press skip. ;)
- kazinator 6y ago> I remember years ago there was a contest for the most error messages from the fewest lines of code from a compiler. When I started being exposed to and interested in computers around 1982, I inherited a stack of Creative Computing magazines dating back to maybe 1978-ish. I remember reading about these error message contests in Creative Computing. Today, I understand why that was. In the olden days, it was important to get as much information from a single compiler run, because interactive computing wasn't universal. Programmers had to share a machine and submit programs in the forms of decks of punched cards to a job submission window. You would not want to fix one error per round trip. This means compilers had to be smart about error recovery: to try to repair the program after an error, and then keep going to get more information out of it. Whenever error recovery inserts a token into the program (like a suspected missing closing parenthesis), it is making the program longer, and risks confusing itself and creating a runaway loop that has to be curbed somehow. I suspect the best solutions to these contests must have been exploiting features of error recovery; tricking the compiler into creating a cascade of errors out of something small.
- m463 6y ago> it was important to get as much information from a single compiler run That's a good point. I remember debugging a core dump... in hex... and going and circling memory addresses with a red pen and chaining them together until I found the problem.
- miohtama 6y ago”Offers an extended source format that lets source text vary in length up to 252 bytes per line” - punch cards are big nowadays.
- rwbhn 6y agoI recall hard to debug issues due to compiler silently dropping everything past col 80 ...
- dmckeon 6y agoPredicting apparently highly effective file compression benchmark results due to files with larger LRECLs whose lines are padded out to 80 or 252 with space characters. “iZip-in-Cobol on Linux now 3x better - order now!”
- deleted 6y ago[deleted]
- rubyfan 6y agoYay, just what we always wanted!
- deleted 6y ago[deleted]
- qrbLPHiKpiux 6y agoWhat’s this for? To get new people on board with the language to maintain states old unemployment systems?
- ChuckMcM 6y agoOne of the VAX computers I rescued from disposal at the height of the Y2K impending apocolypse came with licenses (PAKs for those in the know) for DEC COBOL, DEC RDBMS, and DEC FORMS. These three applications formed the backbone of payroll processing for the company that was tossing the VAX. This machine, processed the payroll for a bit over 5,000 employees on a "clustered" machine that had a combined total of 512MB of RAM and 4GB of disk. I can assure you that "Quickbook Payroll" would not be able to handle this on a similarly resourced x86 machine. Not even close. Unicode support is nice, and the fact that once you've compiled your application to binary it doesn't have to go over the Internet to load key parts is super nice. And yes, there are people that still use COBOL, still think it is the best choice for the task that it is doing, and keep it going with a modest amount of maintenance.
- chasil 6y agoCan't you get all this stuff with a hobbiest license and a full media kit? Doesn't macro32 on alpha or itanium run old VAX binaries transparently? Why keep the antiques? Even SimH seems a better option (assuming the licenses work). http://www.openvmshobbyist.com/news.php http://www.openvmshobbyist.com/news.php
- ChuckMcM 6y agoYou could, except that they stopped the hobbiest program sadly.
- sidpatil 6y agoVMS Software, the newest maintainers of OpenVMS, have continued the hobbyist program. https://vmssoftware.com/community/community-license/ https://vmssoftware.com/community/community-license/
- ChuckMcM 6y agoExcept this bit: Please note that in accordance with the license agreement between VMS Software Inc. and HPE, VMS Software Inc. are not able to distribute VAX licenses. Since I've got actual Vaxen it doesn't help.
- fortran77 6y agoFinally! This is what I've been waiting for. Remember that Skynet was written in COBOL: https://twitter.com/ThrillScience/status/1249742678532620293 https://twitter.com/ThrillScience/status/1249742678532620293
- gt565k 6y agocostco still uses ibm as/400
- russh 6y agoI know several places still using AS/400's, I wish they would stop calling me about software I wrote over 30 years ago.
- deleted 6y ago[deleted]
- n3rd 6y agoMy dad worked on AS/400. When I first saw it, it looked like he was working in the matrix with that black/green color scheme.
- wglb 6y agoI was a consultant at Allstate when they ordered on the order of 13,000 AS/400 machines--one for each field office.
- kovacs 6y agoThey should've announced this last Thursday :)
- canada_dry 6y agoAs a former (retired) old-school CICS-COBOL programmer (in the credit card industry) it might be fun to setup an instance and see if I can get Base I/II up and running for old-times sake.
- marktangotango 6y agoThis is pretty clearly targeted at rehosting CICS applications on Linux. No one will move batch processing without JCL support, does anyone know if they offer that for Linux? Also this appears to be commercially licensed only, so no way to download and play with it that I saw?
- JediPig 6y agoIBM can piss off.. they bought RH, and now RH can piss off.
- toomanybeersies 6y agoThat's old news. COBOL on Kubernetes is the current bleeding edge: https://github.com/IBM/kubernetes-cobol https://github.com/IBM/kubernetes-cobol
- sys_64738 6y agoI remember the first IDE I ever used back in 1988 on MS-DOS was a COBOL IDE from 1983. It felt ancient back then too!
- pabs3 6y agoI wonder how much better than GnuCOBOL it is. https://gnucobol.sourceforge.io/ https://gnucobol.sourceforge.io/
- lokedhs 6y agoProbably a lot. Gnu COBOL has some annoying limitations, such as no easy to use network API, nor do they make it easy to read-write files whose names are not declared at compile time.
- tablespoon 6y agoCOBOL is the new Lisp.
- Klwohu 6y agoHehe, as usual they don’t even talk about how much it costs. Will it be against the TOS to benchmark it?
- throwaway189262 6y agoI had to chuckle at this, one of the bulleted features: "Offers an extended source format that lets source text vary in length up to 252 bytes per line. COBOL for Linux on x86 supports fixed source format and extended source format. Fixed source format consists of text that varies in length up to a 72 bytes per line." Yeah I'm never going to be in the same room as COBOL code
- hibbelig 6y agoThey say that UTF-16 is a fixed width encoding. But I don’t think this is the case.
- ngcc_hk 6y agoSeeing this and another thread about this https://gnucobol.sourceforge.io; https://gnucobol.sourceforge.io; wonder and guess none interoperability ba.