Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Mainframes?

Mainframes?

Scheduled Pinned Locked Moved The Lounge
csharpalgorithmsquestioncareer
23 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Forogar

    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.

    C Offline
    C Offline
    CHill60
    wrote on last edited by
    #2

    Good Luck. Here's your first one :java:

    1 Reply Last reply
    0
    • F Forogar

      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.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #3

      Forogar wrote:

      However, yesterday, since my boss happened to know I had once, long ago, worked on mainframes using, amongst other things, the dreaded COBOL, ... no useful documentation

      ummm, wasn't the verbosity of COBOL meant to be the 'documentation' in itself? :laugh:

      Message Signature (Click to edit ->)

      G 1 Reply Last reply
      0
      • L Lost User

        Forogar wrote:

        However, yesterday, since my boss happened to know I had once, long ago, worked on mainframes using, amongst other things, the dreaded COBOL, ... no useful documentation

        ummm, wasn't the verbosity of COBOL meant to be the 'documentation' in itself? :laugh:

        Message Signature (Click to edit ->)

        G Offline
        G Offline
        glennPattonWork3
        wrote on last edited by
        #4

        Says the person who has never tried to figure it out...

        L 1 Reply Last reply
        0
        • F Forogar

          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.

          realJSOPR Offline
          realJSOPR Offline
          realJSOP
          wrote on last edited by
          #5

          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

          OriginalGriffO 1 Reply Last reply
          0
          • realJSOPR realJSOP

            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

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #6

            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!

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            G 1 Reply Last reply
            0
            • G glennPattonWork3

              Says the person who has never tried to figure it out...

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #7

              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)

              Message Signature (Click to edit ->)

              1 Reply Last reply
              0
              • F Forogar

                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.

                G Offline
                G Offline
                GuyThiebaut
                wrote on last edited by
                #8

                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

                R 1 Reply Last reply
                0
                • G GuyThiebaut

                  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

                  R Offline
                  R Offline
                  Ron Anders
                  wrote on last edited by
                  #9

                  Coffee? Try drain o and let them abuse someone else instead. ....And the living will envy the dead.

                  G 1 Reply Last reply
                  0
                  • R Ron Anders

                    Coffee? Try drain o and let them abuse someone else instead. ....And the living will envy the dead.

                    G Offline
                    G Offline
                    Gary Wheeler
                    wrote on last edited by
                    #10

                    Ron Anders wrote:

                    And the living will envy the dead.

                    Cue Tina[^].

                    Software Zen: delete this;

                    1 Reply Last reply
                    0
                    • F Forogar

                      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.

                      M Offline
                      M Offline
                      MarkTJohnson
                      wrote on last edited by
                      #11

                      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. :)

                      1 Reply Last reply
                      0
                      • F Forogar

                        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.

                        R Offline
                        R Offline
                        Rage
                        wrote on last edited by
                        #12

                        Honestly ? That job looks cool af. Says the geek in me.

                        Do not escape reality : improve reality !

                        1 Reply Last reply
                        0
                        • F Forogar

                          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.

                          R Offline
                          R Offline
                          rnbergren
                          wrote on last edited by
                          #13

                          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

                          F 1 Reply Last reply
                          0
                          • R rnbergren

                            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

                            F Offline
                            F Offline
                            Forogar
                            wrote on last edited by
                            #14

                            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.

                            R 1 Reply Last reply
                            0
                            • F Forogar

                              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.

                              R Offline
                              R Offline
                              rnbergren
                              wrote on last edited by
                              #15

                              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

                              1 Reply Last reply
                              0
                              • F Forogar

                                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.

                                Kornfeld Eliyahu PeterK Offline
                                Kornfeld Eliyahu PeterK Offline
                                Kornfeld Eliyahu Peter
                                wrote on last edited by
                                #16

                                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

                                "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                                realJSOPR 1 Reply Last reply
                                0
                                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                  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

                                  realJSOPR Offline
                                  realJSOPR Offline
                                  realJSOP
                                  wrote on last edited by
                                  #17

                                  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 PeterK 1 Reply Last reply
                                  0
                                  • realJSOPR realJSOP

                                    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 PeterK Offline
                                    Kornfeld Eliyahu PeterK Offline
                                    Kornfeld Eliyahu Peter
                                    wrote on last edited by
                                    #18

                                    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

                                    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                                    F 1 Reply Last reply
                                    0
                                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                      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

                                      F Offline
                                      F Offline
                                      Forogar
                                      wrote on last edited by
                                      #19

                                      Quote:

                                      Probably no one can...

                                      Probably no one would want to!

                                      - I would love to change the world, but they won’t give me the source code.

                                      1 Reply Last reply
                                      0
                                      • F Forogar

                                        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.

                                        W Offline
                                        W Offline
                                        WaferFun
                                        wrote on last edited by
                                        #20

                                        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. :-\

                                        1 Reply Last reply
                                        0
                                        • F Forogar

                                          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.

                                          S Offline
                                          S Offline
                                          Super Lloyd
                                          wrote on last edited by
                                          #21

                                          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!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups