Mainframes?
-
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented. :sigh: 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" :wtf: 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. :omg: How much coffee do you think I will be drinking in the next few days (or possibly weeks)? X|
- I would love to change the world, but they won’t give me the source code.
Forogar wrote:
Many of these programs had been first written in 1991
I was a COBOL and CICS programmer at Norwich Union back in 1991 in the sandwich year of my information systems degree so you have my sympathy.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
-
Forogar wrote:
Many of these programs had been first written in 1991
I was a COBOL and CICS programmer at Norwich Union back in 1991 in the sandwich year of my information systems degree so you have my sympathy.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
Coffee? Try drain o and let them abuse someone else instead. ....And the living will envy the dead.
-
Coffee? Try drain o and let them abuse someone else instead. ....And the living will envy the dead.
-
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented. :sigh: 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" :wtf: 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. :omg: How much coffee do you think I will be drinking in the next few days (or possibly weeks)? X|
- I would love to change the world, but they won’t give me the source code.
Still got a green bar tractor feed printer? Print it out and used color pencils to map out what's going on. What? Use the appropriate tool for the job. :)
-
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented. :sigh: 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" :wtf: 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. :omg: How much coffee do you think I will be drinking in the next few days (or possibly weeks)? X|
- I would love to change the world, but they won’t give me the source code.
Honestly ? That job looks cool af. Says the geek in me.
-
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented. :sigh: 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" :wtf: 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. :omg: How much coffee do you think I will be drinking in the next few days (or possibly weeks)? X|
- I would love to change the world, but they won’t give me the source code.
-
outsource it to someone in India for 1/4 what you make and have them do all the heavy grunt work. Just a thought.
To err is human to really mess up you need a computer
Unfortunately there is a security level on the data which prevents that. In addition, I refuse to get up at 4am to manage the work. I have done that in the past and it gets old very quickly! In addition to that, and this is only my own experience from only two projects, it took much more time to correct the introduced errors in the code than if we had just written it ourselves in the first place!
- I would love to change the world, but they won’t give me the source code.
-
Unfortunately there is a security level on the data which prevents that. In addition, I refuse to get up at 4am to manage the work. I have done that in the past and it gets old very quickly! In addition to that, and this is only my own experience from only two projects, it took much more time to correct the introduced errors in the code than if we had just written it ourselves in the first place!
- I would love to change the world, but they won’t give me the source code.
that is a good point. I am very lucky, the two times I have worked with people from India the code has been quite good and the time change doesn't bother me that much. But I get what you are saying and also proprietary systems and all. Good luck.
To err is human to really mess up you need a computer
-
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented. :sigh: 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" :wtf: 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. :omg: How much coffee do you think I will be drinking in the next few days (or possibly weeks)? X|
- I would love to change the world, but they won’t give me the source code.
After this week I would kill for a good, long COBOL job...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
-
After this week I would kill for a good, long COBOL job...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
Kornfeld Eliyahu Peter wrote:
After this week I would kill for a good, long COBOL job...
Sounds almost pornographic.
".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 -
Kornfeld Eliyahu Peter wrote:
After this week I would kill for a good, long COBOL job...
Sounds almost pornographic.
".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, 2013I can not fix your mind :-) Probably no one can...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
-
I can not fix your mind :-) Probably no one can...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
-
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented. :sigh: 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" :wtf: 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. :omg: How much coffee do you think I will be drinking in the next few days (or possibly weeks)? X|
- I would love to change the world, but they won’t give me the source code.
One dirty solution: does any one know the correct output for a given input? if yes, you can instead make a complete new one base on the pattern their descripted, if no, then it is even more simpler, just do a good old new Random().Next(xxx), it`s not like anyone can tell the different. :-\
-
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented. :sigh: 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" :wtf: 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. :omg: How much coffee do you think I will be drinking in the next few days (or possibly weeks)? X|
- I would love to change the world, but they won’t give me the source code.
First, disclosure image: [https://images.gr-assets.com/books/1328797053l/79257.jpg\](https://images.gr-assets.com/books/1328797053l/79257.jpg) Now.. you can panic! :D
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
-
Normally I work on these cute little toy computers called PCs using C# and .NET, etc. and am happy and contented. :sigh: 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" :wtf: 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. :omg: How much coffee do you think I will be drinking in the next few days (or possibly weeks)? X|
- I would love to change the world, but they won’t give me the source code.
Doesn't the GCC suite have a COBOL compiler? If you parse the code into a DAG structure (before being processed by the compiler back end), you could reassemble the DAG into another language, such as C++. I guess you would want to turn off all sorts of optimization, or you could intercept the compiler after parsing, but before any global optimization. (If you let an optimizer move code around, merge identical subexpressions into one etc. etc., the program logic may be far more difficult to grasp.) Maybe you could even preserve more of the symbolic information by intercepting the process as early as possible, without having to analyze debug information. Disclaimer: I have never been into the core of the GCC compilers, so I have never tried to do anything like this myself. If you are a compiler guy, and you are talking about a code base of a million lines, you may consider it. If you don't know much about compilers, forget it. I did one project machine translating one language into another, and concluded that the cleanup work of the generated code cost us far more than manual hand translation would have amounted to. But the translator we used worked at the source code level, breaking textual statements down into textual fragments and reassembling it from different textual fragments. If you do a complete syntactical and semantic parsing, you probably have a much higher chance of getting a workable result. But it takes a compiler guy, and I would think that the initial effort won't pay back for anything less than a million line of code.
-
John Simmons / outlaw programmer wrote:
Just get Cobol.Net and then you can throw it under the visual studio debugger bus .
FTFY.
Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
OriginalGriff wrote:
Just get Cobol.Net and then you can throw it under the visual studio debugger S-100 bus .
FTFY2.
Software Zen:
delete this;