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. Missing COBOL

Missing COBOL

Scheduled Pinned Locked Moved The Lounge
csharpdatabasesql-serverwpfsysadmin
46 Posts 20 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.
  • R RugbyLeague

    For the first time in 20 years I have been tasked with writing a line of business application - it uses C#, WPF, SQL Server and Entity Framework I really miss COBOL and ISAM files.

    T Offline
    T Offline
    thrakazog
    wrote on last edited by
    #26

    COBOL? Wasn't that one of the monsters in Dungeons and Dragons?

    Play my game Gravity: IOS[^], Android[^], Windows Phone 7[^]

    R F 2 Replies Last reply
    0
    • R RugbyLeague

      For the first time in 20 years I have been tasked with writing a line of business application - it uses C#, WPF, SQL Server and Entity Framework I really miss COBOL and ISAM files.

      P Offline
      P Offline
      plaster
      wrote on last edited by
      #27

      IDENTIFICATION DIVISION. PROGRAM-ID. WHY-I-MISS-COBOL. AUTHOR. PLASTER. DATE-WRITTEN. MARCH 2013. * PROCEDURE DIVISION. MAIN-000. DISPLAY "Your never miss cobol because it every where". MAIN-999.

      1 Reply Last reply
      0
      • R RugbyLeague

        For the first time in 20 years I have been tasked with writing a line of business application - it uses C#, WPF, SQL Server and Entity Framework I really miss COBOL and ISAM files.

        Y Offline
        Y Offline
        YvesDaoust
        wrote on last edited by
        #28

        In my opinion, the main trouble with modern languages/frameworks/IDEs is the lack of good documentation, combined to their excessive size and complexity. You can't find primers that give you the basic recipes to get started. Instead you face unmanageable piles of uninformative, unstructured reference manuals. It was possible to learn Cobol. You will never really know C# nor WPF nor SQL Server nor Entity Framework. Programming has moved from a scientific discipline to a pathetic maze crossing. Sorry for the bad news ;-).

        R 1 Reply Last reply
        0
        • Y YvesDaoust

          In my opinion, the main trouble with modern languages/frameworks/IDEs is the lack of good documentation, combined to their excessive size and complexity. You can't find primers that give you the basic recipes to get started. Instead you face unmanageable piles of uninformative, unstructured reference manuals. It was possible to learn Cobol. You will never really know C# nor WPF nor SQL Server nor Entity Framework. Programming has moved from a scientific discipline to a pathetic maze crossing. Sorry for the bad news ;-).

          R Offline
          R Offline
          RugbyLeague
          wrote on last edited by
          #29

          I like to think I am pretty good at C# and WPF - I have written compilers in C# and award winning inverted index database software in C# with a WPF GUI - but I know what you mean. There's a lot of programming by Google done these days - and if you find 100 articles answering your question you'll generally find 100 conflicting answers.

          1 Reply Last reply
          0
          • F Forogar

            Actually I switched to the imaginatively named "PL/1" ("Programming Language One" - gosh, what an amazing name; when are we going to see "PL/2"?) which is like going from Heroine to Methadone! PL/1 was weird. It was like doing COBOL in FORTRAN. Thank god I was doing C on my own time to keep me sane!.

            - Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...

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

            There was a cartoon at the time showing a COBOL Mum and a FORTRAN Dad cooing over their baby PL/1 offspring, while through the window, a whistling ALGOL Milkman was placing bottles on their doorstep.

            All that is necessary for Evil to succeed is for Good Folks to keep voting for their Party. - Cornelius Thirp

            1 Reply Last reply
            0
            • B Bergholt Stuttley Johnson

              I thought that was LINC (Lucky its not cobol or Laugh I nearly Cried, as it was nicknamed )

              You cant outrun the world, but there is no harm in getting a head start Real stupidity beats artificial intelligence every time.

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

              When I was using it (LINC 4?), it generated 1000s of lines of COBOL which often compiled with errors. Corrections had to be made to the generated COBOL source, when you could work out what LINC was attempting.

              Bergholt Stuttley Johnson wrote:

              Laugh I nearly Cried

              Too bloody right. :laugh:

              All that is necessary for Evil to succeed is for Good Folks to keep voting for their Party. - Cornelius Thirp

              1 Reply Last reply
              0
              • T thrakazog

                COBOL? Wasn't that one of the monsters in Dungeons and Dragons?

                Play my game Gravity: IOS[^], Android[^], Windows Phone 7[^]

                R Offline
                R Offline
                RKHenry
                wrote on last edited by
                #32

                No, it was one of the planets in Battlestar Galactica. "The Lords of COBOL."

                1 Reply Last reply
                0
                • B Bergholt Stuttley Johnson

                  Simplier? have you never dropped a box of punch cards?

                  You cant outrun the world, but there is no harm in getting a head start Real stupidity beats artificial intelligence every time.

                  T Offline
                  T Offline
                  Tim Carmichael
                  wrote on last edited by
                  #33

                  When I started college, the year ahead of me was still on punch cards for COBOL and FORTran. Fortunately for me, over Christmas break, a new VAX/VMS system was installed and I never had to use punch cards. Still had 3 semesters of COBOL though. When I started working, ironically, it was in FORTRan. The college no longer offered a course in FORTRan...

                  1 Reply Last reply
                  0
                  • T thrakazog

                    COBOL? Wasn't that one of the monsters in Dungeons and Dragons?

                    Play my game Gravity: IOS[^], Android[^], Windows Phone 7[^]

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

                    You are thinking perhaps of a Kobold[^]?

                    - Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...

                    T 1 Reply Last reply
                    0
                    • R RugbyLeague

                      For the first time in 20 years I have been tasked with writing a line of business application - it uses C#, WPF, SQL Server and Entity Framework I really miss COBOL and ISAM files.

                      B Offline
                      B Offline
                      BrainiacV
                      wrote on last edited by
                      #35

                      I did a phone billing program in '77 for the company I worked for that took the billing tape from the phone company and split out the charges to the different departments. Although I was a S/370 Assembler programmer, I decided to write the application in COBOL. We had two teams at the company, one programming in Assembler and the other in COBOL. The Assembler team thought the COBOL programmers needed help getting dressed in the mornings. I, therefore, was viewed as a traitor. My argument was that it was an accounting problem and therefore needed to be written in an accounting language. Actually I was more concerned with data conversion. The phone company billing tape used every possible form of data storage that the S/370 supported (EBCDIC, binary, BCD - packed and unpacked, etc.), I feared I would spend more time debugging the numeric conversions than I would the main application. In the end I did some pretty wild stuff for COBOL, like dynamic arrays and multi-pass data collection. In the end it worked magnificently and they rolled the report into the President's office were he got his jollies finding his secretary had made $70 worth of personal long distance calls. They then decided the reports needed to go no further down than VP's, even though I had designed the reports to go to the end users so they could police themselves. But the corporate culture was not what you knew, but what you had on someone else. In the end, they decided it was a good thing I had written it in COBOL, they could fluff off maintenance of it to the COBOL side. It was the last program I wrote for them and in COBOL. Afterwards I found I had made the program intelligent enough that it figured out changes to the data stream by itself and needed no further modifications (I was so proud to hear that, I had really worked hard to make it smart) and that there were many horror stories from mismanagement of the report from people getting fired over phone use to astronomical bills that could have been avoided if the information had been allowed to filter down to the intended recipients. I still have a copy of it in my files.

                      Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                      M R 2 Replies Last reply
                      0
                      • B BrainiacV

                        I did a phone billing program in '77 for the company I worked for that took the billing tape from the phone company and split out the charges to the different departments. Although I was a S/370 Assembler programmer, I decided to write the application in COBOL. We had two teams at the company, one programming in Assembler and the other in COBOL. The Assembler team thought the COBOL programmers needed help getting dressed in the mornings. I, therefore, was viewed as a traitor. My argument was that it was an accounting problem and therefore needed to be written in an accounting language. Actually I was more concerned with data conversion. The phone company billing tape used every possible form of data storage that the S/370 supported (EBCDIC, binary, BCD - packed and unpacked, etc.), I feared I would spend more time debugging the numeric conversions than I would the main application. In the end I did some pretty wild stuff for COBOL, like dynamic arrays and multi-pass data collection. In the end it worked magnificently and they rolled the report into the President's office were he got his jollies finding his secretary had made $70 worth of personal long distance calls. They then decided the reports needed to go no further down than VP's, even though I had designed the reports to go to the end users so they could police themselves. But the corporate culture was not what you knew, but what you had on someone else. In the end, they decided it was a good thing I had written it in COBOL, they could fluff off maintenance of it to the COBOL side. It was the last program I wrote for them and in COBOL. Afterwards I found I had made the program intelligent enough that it figured out changes to the data stream by itself and needed no further modifications (I was so proud to hear that, I had really worked hard to make it smart) and that there were many horror stories from mismanagement of the report from people getting fired over phone use to astronomical bills that could have been avoided if the information had been allowed to filter down to the intended recipients. I still have a copy of it in my files.

                        Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                        M Offline
                        M Offline
                        MainFrameMan_ALIVE_AND_WELL
                        wrote on last edited by
                        #36

                        Nice to hear some good things about COBOL. I have been going back in time; started out with the new languages in .Net, C, VB6, and finally ACOB. It doesn't matter what the language is, just do what you have to do with whatever you have and code for clarity; don't make it difficult to analyze or read. It has taken me more than a year to flow chart a program so I know what it does and doesn't do because there is no documentation. It is only one of thousands of batch runs and TIP programs; I think I have plenty to do until 2027:cool:

                        1 Reply Last reply
                        0
                        • R RugbyLeague

                          For the first time in 20 years I have been tasked with writing a line of business application - it uses C#, WPF, SQL Server and Entity Framework I really miss COBOL and ISAM files.

                          K Offline
                          K Offline
                          k5tm
                          wrote on last edited by
                          #37

                          You don't have to miss them. You can do all that using Visual COBOL, a full-fledged member of Visual Studio 2010 and 2012. (Also available for Eclipse.) Go to the Micro Focus web site and follow the link for a free trial version. For a slightly less COBOL-hostile crowd, visit/join the Microfocus Community. You will find out that we do a bit more than COBOL.

                          Tom Morrison Micro Focus

                          1 Reply Last reply
                          0
                          • F Forogar

                            You are thinking perhaps of a Kobold[^]?

                            - Life in the fast lane is only fun if you live in a country with no speed limits. - Of all the things I have lost, it is my mind that I miss the most. - I vaguely remember having a good memory...

                            T Offline
                            T Offline
                            thrakazog
                            wrote on last edited by
                            #38

                            Exactly. "kobolds are noted for their skill at building traps and preparing ambushes.... Kobold society is influenced by their lawful evil alignment." I haven't done much COBOL. But the similarities are there.

                            Play my game Gravity: IOS[^], Android[^], Windows Phone 7[^]

                            1 Reply Last reply
                            0
                            • R RugbyLeague

                              For the first time in 20 years I have been tasked with writing a line of business application - it uses C#, WPF, SQL Server and Entity Framework I really miss COBOL and ISAM files.

                              D Offline
                              D Offline
                              dg6yhw11
                              wrote on last edited by
                              #39

                              Good luck with that. I've been writing LOB apps for 25 years now. The only one of those "tools" that might be helpful is the Transact-SQL in SQL server. LOB apps are procedural by definition. Humans don't think in objects. OOP simply doesn't work (unless you have a team including a full-time documenter to remember all those ?@#?% objects). And don't forget about money. None of the current MS products handle currency transactions properly unless you decide to work in pennies. They all produce rounding errors that you have to handle. No version of C will do money properly. Especially when chaining transactions ((Qty * price = sale)* sales tax) for example. Any multiplication involving fractions of percentages ending in 5 (1.45% for example)will round unpredictably. COBOL uses BCD math that produces accurate results. We are actually considering moving our main app into COBOL because the "modern" tools are too complex and way, way too verbose.

                              C R 2 Replies Last reply
                              0
                              • N Nagy Vilmos

                                ISAM for sure, but I can't fully agree with COBOL.

                                Reality is an illusion caused by a lack of alcohol

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

                                No, No, No!! VSAM!

                                1 Reply Last reply
                                0
                                • B BrainiacV

                                  I did a phone billing program in '77 for the company I worked for that took the billing tape from the phone company and split out the charges to the different departments. Although I was a S/370 Assembler programmer, I decided to write the application in COBOL. We had two teams at the company, one programming in Assembler and the other in COBOL. The Assembler team thought the COBOL programmers needed help getting dressed in the mornings. I, therefore, was viewed as a traitor. My argument was that it was an accounting problem and therefore needed to be written in an accounting language. Actually I was more concerned with data conversion. The phone company billing tape used every possible form of data storage that the S/370 supported (EBCDIC, binary, BCD - packed and unpacked, etc.), I feared I would spend more time debugging the numeric conversions than I would the main application. In the end I did some pretty wild stuff for COBOL, like dynamic arrays and multi-pass data collection. In the end it worked magnificently and they rolled the report into the President's office were he got his jollies finding his secretary had made $70 worth of personal long distance calls. They then decided the reports needed to go no further down than VP's, even though I had designed the reports to go to the end users so they could police themselves. But the corporate culture was not what you knew, but what you had on someone else. In the end, they decided it was a good thing I had written it in COBOL, they could fluff off maintenance of it to the COBOL side. It was the last program I wrote for them and in COBOL. Afterwards I found I had made the program intelligent enough that it figured out changes to the data stream by itself and needed no further modifications (I was so proud to hear that, I had really worked hard to make it smart) and that there were many horror stories from mismanagement of the report from people getting fired over phone use to astronomical bills that could have been avoided if the information had been allowed to filter down to the intended recipients. I still have a copy of it in my files.

                                  Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                                  R Offline
                                  R Offline
                                  RugbyLeague
                                  wrote on last edited by
                                  #41

                                  Nice :) I got into programming because I was working at a printers which did huge batch runs of pension bonus notices etc - I started just as chap setting up the batch runs but only 4 could be run at once and they could take days so I had plenty of spare time - so I taught myself COBOL and wrote games - just simple things such as card games and connect 4 type things - when the company advertised for a programmer I put my name forward - they were surprised I knew COBOL as I had never mentioned it to management - so I told them I had been writing games on their computer - which they weren't keen on - but I told my boss where to look on the system for the games menu - 5 minutes later he called me to say none of them worked as he couldn't log in - then I realised - his name was David and I had hooked into the D key throughout the system so it dropped out of the games system every time D was pressed in case he came into our office - he was logging in using his forename and being kicked out - that took some explaining but I got the job.

                                  B 1 Reply Last reply
                                  0
                                  • D dg6yhw11

                                    Good luck with that. I've been writing LOB apps for 25 years now. The only one of those "tools" that might be helpful is the Transact-SQL in SQL server. LOB apps are procedural by definition. Humans don't think in objects. OOP simply doesn't work (unless you have a team including a full-time documenter to remember all those ?@#?% objects). And don't forget about money. None of the current MS products handle currency transactions properly unless you decide to work in pennies. They all produce rounding errors that you have to handle. No version of C will do money properly. Especially when chaining transactions ((Qty * price = sale)* sales tax) for example. Any multiplication involving fractions of percentages ending in 5 (1.45% for example)will round unpredictably. COBOL uses BCD math that produces accurate results. We are actually considering moving our main app into COBOL because the "modern" tools are too complex and way, way too verbose.

                                    C Offline
                                    C Offline
                                    chris strachan
                                    wrote on last edited by
                                    #42

                                    Dead Right COBOL is lousy at virtually everything except one - writing business logic where it's great - ever try writing a multi level Bill of Materials explosion in C#

                                    1 Reply Last reply
                                    0
                                    • R RugbyLeague

                                      Nice :) I got into programming because I was working at a printers which did huge batch runs of pension bonus notices etc - I started just as chap setting up the batch runs but only 4 could be run at once and they could take days so I had plenty of spare time - so I taught myself COBOL and wrote games - just simple things such as card games and connect 4 type things - when the company advertised for a programmer I put my name forward - they were surprised I knew COBOL as I had never mentioned it to management - so I told them I had been writing games on their computer - which they weren't keen on - but I told my boss where to look on the system for the games menu - 5 minutes later he called me to say none of them worked as he couldn't log in - then I realised - his name was David and I had hooked into the D key throughout the system so it dropped out of the games system every time D was pressed in case he came into our office - he was logging in using his forename and being kicked out - that took some explaining but I got the job.

                                      B Offline
                                      B Offline
                                      BrainiacV
                                      wrote on last edited by
                                      #43

                                      Sweet :laugh: I used to work as a computer operator third shift and would be given a list of programs to run for the night. I had made an agreement with management that if there was any time left over, I could run my own programs. So I'd rewrite the programs to make them run faster. :-D FORTRAN was the preferred language there, however I also wrote system utilities to make operations easier in Assembler. One program I (re)wrote was a program to play Battleship against a human opponent. When I went to the company that I wrote the phone billing program for, I adapted the Battleship program so it would run on the local dialect. I showed if off to my boss and as he played the game, I noticed that he had placed his ships in such a manner that the primary hunt pattern was going to hit every one of them. There was no way he was going to win, so he came away impressed. But speaking of Dave, at one job I had a Macintosh that I had replaced the error beep with 2001: A Space Odyssey's "I'm sorry Dave, I'm afraid I can't do that." And happened to demonstrate it to a coworker named Dave. After he listened to it, his body language went tense, he pushed himself away from the desk, and not taking his eyes off the computer asked, "How did it know my name was Dave?" It never occurred to me that he didn't know that soundbyte. :wtf: It made me want to load Cheech & Chong's "Dave's not here!" just to mess with him more.

                                      Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                                      R 1 Reply Last reply
                                      0
                                      • B BrainiacV

                                        Sweet :laugh: I used to work as a computer operator third shift and would be given a list of programs to run for the night. I had made an agreement with management that if there was any time left over, I could run my own programs. So I'd rewrite the programs to make them run faster. :-D FORTRAN was the preferred language there, however I also wrote system utilities to make operations easier in Assembler. One program I (re)wrote was a program to play Battleship against a human opponent. When I went to the company that I wrote the phone billing program for, I adapted the Battleship program so it would run on the local dialect. I showed if off to my boss and as he played the game, I noticed that he had placed his ships in such a manner that the primary hunt pattern was going to hit every one of them. There was no way he was going to win, so he came away impressed. But speaking of Dave, at one job I had a Macintosh that I had replaced the error beep with 2001: A Space Odyssey's "I'm sorry Dave, I'm afraid I can't do that." And happened to demonstrate it to a coworker named Dave. After he listened to it, his body language went tense, he pushed himself away from the desk, and not taking his eyes off the computer asked, "How did it know my name was Dave?" It never occurred to me that he didn't know that soundbyte. :wtf: It made me want to load Cheech & Chong's "Dave's not here!" just to mess with him more.

                                        Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                                        R Offline
                                        R Offline
                                        RugbyLeague
                                        wrote on last edited by
                                        #44

                                        Excellent :laugh:

                                        1 Reply Last reply
                                        0
                                        • D dg6yhw11

                                          Good luck with that. I've been writing LOB apps for 25 years now. The only one of those "tools" that might be helpful is the Transact-SQL in SQL server. LOB apps are procedural by definition. Humans don't think in objects. OOP simply doesn't work (unless you have a team including a full-time documenter to remember all those ?@#?% objects). And don't forget about money. None of the current MS products handle currency transactions properly unless you decide to work in pennies. They all produce rounding errors that you have to handle. No version of C will do money properly. Especially when chaining transactions ((Qty * price = sale)* sales tax) for example. Any multiplication involving fractions of percentages ending in 5 (1.45% for example)will round unpredictably. COBOL uses BCD math that produces accurate results. We are actually considering moving our main app into COBOL because the "modern" tools are too complex and way, way too verbose.

                                          R Offline
                                          R Offline
                                          RugbyLeague
                                          wrote on last edited by
                                          #45

                                          I agree - the LOB app I am writing isn't even that complicated but the tools are hideous - Entity Framework is beyond awful just for some simple data access

                                          D 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