Defusing COBOL Bombs with Smart Automation
1–10 of 20 posts
Re: Defusing COBOL Bombs with Smart Automation
#2But no, real world my first program was ripped to bits, rewrote and I was shown the error of my ways and why I should use GOTO as it was how everything else was written and others will need to maintain and modify the program throughout it's life. Hence was the company standard. Even had a system engineer point out how much more efficient GOTO was for error handling and efficiency ruled the waves.
So the spaghetti code today may seem silly, but there will be so many historical reasons for the way it is. Alas companies are not keen to refactor old code a bit at a time for something more readable. They all live the dream that one day they will replace the whole system overnight and the angels will sing their praise. But that rarely goes to plan due to legacy factors and how intertwined so many aspects of the various systems are. This and it works, the hardware is fault tolerant. Then the horror stories of failures of others doing as such spread further than any success story.
So you end up at best in many cases seeing some aspects farmed out to a data warehouse running on some x86 server to plicate the increasing demands for marketing and sales statistics and provide them the tools to play away without impacting and stealing the pool of resources they have to keep the existing system just ticking along.
But the likes of CIC's and MQ interfacing make peeling of some layers much easier and was one of the sain approaches when I last was involved in such matters over a decade ago.
Be interested how people migrate such systems today as encountered many a software house who will promise all the tick box's management want to see and fail so very badly.
Re: Defusing COBOL Bombs with Smart Automation
#3But it was the same old bad code, traspiled.
We looked for better solutions, my opinions and my boss's diverged, and last I heard, they're manually transpiling into Java at a multimillion dollar cost. It's a Java engineer employment program though.
Re: Defusing COBOL Bombs with Smart Automation
#4Re: Defusing COBOL Bombs with Smart Automation
#5I started writing in COBOL in 1976. I wrote a lot of code and even started teaching COBOL in the local community college. The language is pretty simple, although wordy. I think that COBOL code would be pretty obvious to a coder today. They might not be able to code in it, but they should be able to follow the flow. The advantage of COBOL was that it was closer to machine code. A statement in COBOL translates to one o…
Re: Defusing COBOL Bombs with Smart Automation
#6I’ve been aware of a similar problem for a while now. When you write a complex system you’re always adding one more detail to something you already know. At some point when you’ve sailed far beyond all propriety, you built a system that can only be understood once it’s been memorized. Every new hire seems more useless than the last but the real problem is you.
Breaking up the long convoluted flows into smaller, self contained ones gives the new people a way to go about memorizing the system.
Otherwise they’ll just start crossing their fingers and hoping their changes work.
Re: Defusing COBOL Bombs with Smart Automation
#7I started writing in COBOL in 1976. I wrote a lot of code and even started teaching COBOL in the local community college. The language is pretty simple, although wordy. I think that COBOL code would be pretty obvious to a coder today. They might not be able to code in it, but they should be able to follow the flow. The advantage of COBOL was that it was closer to machine code. A statement in COBOL translates to one o…
The time sharing wasn't that great. Yes the there were hundreds of users but they could wait many seconds, even minutes for transactions to run. There was a little clock icon on the status line of the terminal, and I easily spent an hour or more per day just watching that clock, waiting on my terminal to update. Luckily the there was no www then, or I would have been surfing during that time and even less productive.
Re: Defusing COBOL Bombs with Smart Automation
#8I started writing in COBOL in 1976. I wrote a lot of code and even started teaching COBOL in the local community college. The language is pretty simple, although wordy. I think that COBOL code would be pretty obvious to a coder today. They might not be able to code in it, but they should be able to follow the flow. The advantage of COBOL was that it was closer to machine code. A statement in COBOL translates to one o…
(Puts Monty Python voice on)....Piffle!...when I were a lad we looked after a bunch of Data General Nova 4's and Eclipse S/130's with 32k of memory and with 32-64 dasher terminals hanging off them running DG's Interactive Cobol (on top of RDOS)....and running a full-on accounting system. 1MB of memory would have been absolute luxury.
:)
Re: Defusing COBOL Bombs with Smart Automation
#9[1] http://www.scala-native.org/
[2] https://kotlinlang.org/docs/reference/native-overview.html
Re: Defusing COBOL Bombs with Smart Automation
#10I look at some of the perfectly cromulent stuff people do with Emscripten [0], and it just blows my mind the things that a browser will run these days. So, why not that?