The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
A post I made here around 5 years ago involved a DIY task gone horribly wrong after watching a few youtube videos.
Btw, did you know that you can swap out a hot water tank element without turning off the main connection? The only difference in their setup and mine was that the guy who plumbed mine more than 20 years prior, put the tank shutoff valve on the wrong side...major difference in the way it worked.
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented.
However, yesterday, since my boss happened to know I had once, long ago, worked on mainframes using, amongst other things, the dreaded COBOL, I found myself on a top priority, reverse engineering job to find out the algorithm used somewhere in "a million lines of COBOL" that took some numbers in and pushed some resulting numbers out after doing "something" with them. Many of these programs had been first written in 1991 and much patched since then, most recently last year by a contractor, who is no longer with us, who left no useful documentation.
How much coffee do you think I will be drinking in the next few days (or possibly weeks)?
- I would love to change the world, but they won’t give me the source code.
Well way back in uni I remember that's what they told us - the intent of COBOL was "the non programmer could read the code and understand what it was doing because it was almost like English sentences.
but yeah I know - that's why I added the LOL
but I do remember often the documentation (if any) was a lot shorter then the source code, i.e. one sentance say "calculate, round, and add interest and print as a line on the statement" = about 10 lines of code (20 lines for a junior).
(Then again I've seen people manage even more lines for doing similar things in say c#, and let's not talk about vb)
Just get Cobol.Net and then you can throw it under the visual studio debugger.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013