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.

    K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #20

    RugbyLeague wrote:

    I really miss COBOL and ISAM files.

    What the hell for???? I took 3 semesters of COBOL in college, and if I never did it again I would be quite happy.

    If it's not broken, fix it until it is

    R 1 Reply Last reply
    0
    • J jim lahey

      So the £30 million they spent on the new glass and brushed metal looking place has got a cupboard for an old 386? how thoughtful in this day and age..

      B Offline
      B Offline
      Bergholt Stuttley Johnson
      wrote on last edited by
      #21

      no its a multi million pound super computer (it just emulates a 386)

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

      1 Reply Last reply
      0
      • N Nagy Vilmos

        You missed out on a shed load of fun if you've never done COBOL. Imagine drunk s_x without the guilty feeling; or the s_x or getting drunk to start with.

        Reality is an illusion caused by a lack of alcohol

        B Offline
        B Offline
        BobJanova
        wrote on last edited by
        #22

        Nagy Vilmos wrote:

        s_x

        Is that Hungarian notation? (That works even better considering who I'm replying to!)

        1 Reply Last reply
        0
        • K Kevin Marois

          RugbyLeague wrote:

          I really miss COBOL and ISAM files.

          What the hell for???? I took 3 semesters of COBOL in college, and if I never did it again I would be quite happy.

          If it's not broken, fix it until it is

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

          I have no intention of using it again - just sometimes I hark back to a simpler age

          B 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.

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

            TThat was before my time :-D

            1 Reply Last reply
            0
            • R RugbyLeague

              I have no intention of using it again - just sometimes I hark back to a simpler age

              B Offline
              B Offline
              Bergholt Stuttley Johnson
              wrote on last edited by
              #25

              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.

              R T 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.

                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
                                          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