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

COBOL

Scheduled Pinned Locked Moved The Lounge
c++comalgorithmsarchitecturequestion
71 Posts 52 Posters 2 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 Reiss

    Sounds painful.. She was only a COBOL lecturer at my technical college but she broke my heart

    N Offline
    N Offline
    NormDroid
    wrote on last edited by
    #20

    Almost as bad as the vascetomy, but hey that's another story ;)

    Software Kinetics Wear a hard hat it's under construction
    Metro RSS

    J 1 Reply Last reply
    0
    • C Chris Maunder

      Chris Meech's post[^] piqued my interest because I've been talking to a few guys lately, on the quiet so as not to bust their cover, who do COBOL. So it got me wondering: who's doing COBOL directly, or at the least, interfacing with COBOL modules or back end systems?

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #21

      I interfaced with COBOL in one of the projects to interface with a legacy AS400 based system. I did not have to understand the full program, just the data formats and the job got done with little googling.

      1 Reply Last reply
      0
      • C Chris Maunder

        Chris Meech's post[^] piqued my interest because I've been talking to a few guys lately, on the quiet so as not to bust their cover, who do COBOL. So it got me wondering: who's doing COBOL directly, or at the least, interfacing with COBOL modules or back end systems?

        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

        D Offline
        D Offline
        DaveAuld
        wrote on last edited by
        #22

        Your not thinking of writing the code behind for CodeProject using NetCobol for .Net are you? http://www.netcobol.com/products/Fujitsu-NetCOBOL-for-.NET/overview[^]

        Dave Find Me On: Web|Facebook|Twitter|LinkedIn


        Folding Stats: Team CodeProject

        G 1 Reply Last reply
        0
        • C Chris Losinger

          i spent last year translating a COBOL system into C++. it was quite an experience! it has a crazy mix of BASIC-like high level built-in stuff and C-like low level structures/unions/data type munging. plus, variable aliases are pure evil.

          image processing toolkits | batch image processing

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #23

          Chris Losinger wrote:

          a crazy mix of BASIC-like high level built-in stuff and C-like low level structures/unions/data type munging

          I've played that crazy shyte in the past. I think 92/93 was the last COBOL I did in anger and maybe 98/99 looking at it to find out WTF it was doing.


          Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

          1 Reply Last reply
          0
          • R Reiss

            My first proper job involved writing COBOL on an AS/400 - god I'm feeling old :((

            N Offline
            N Offline
            Nagy Vilmos
            wrote on last edited by
            #24

            I was a vet of three campaigns when I started AS/400 but it was deved under RPG


            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

            1 Reply Last reply
            0
            • C Chris Maunder

              Chris Meech's post[^] piqued my interest because I've been talking to a few guys lately, on the quiet so as not to bust their cover, who do COBOL. So it got me wondering: who's doing COBOL directly, or at the least, interfacing with COBOL modules or back end systems?

              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

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

              My first programming job was writing COBOL on a TI-990. It was COBOL 74 so didn't even have END-IF

              1 Reply Last reply
              0
              • C Chris Meech

                Chris Losinger wrote:

                plus, variable aliases are pure evil.

                Is that in reference to COBOL's magical 88 Levels? :)

                Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                C Offline
                C Offline
                Chris Losinger
                wrote on last edited by
                #26

                yep.

                77 try-mid value 'n' pic x.
                88 try-mid-n value 'n'.
                88 try-mid-y value 'y'.

                oh, you mean:

                bool try_mid;

                ?

                image processing toolkits | batch image processing

                C 1 Reply Last reply
                0
                • C Chris Maunder

                  Chris Meech's post[^] piqued my interest because I've been talking to a few guys lately, on the quiet so as not to bust their cover, who do COBOL. So it got me wondering: who's doing COBOL directly, or at the least, interfacing with COBOL modules or back end systems?

                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                  G Offline
                  G Offline
                  Gregory Gadow
                  wrote on last edited by
                  #27

                  I got my current job 17 years ago because I knew COBOL. The company's minicomputer (yes, it was a 1980s Rand-McNally mini) used a non-relational Informix database interfaced using RM-COBOL applets and a job control language from Hell. I was the only one of 11 people they interviewed who admitted to knowing the language. I haven't done COBOL since 1999, when our entire system was replaced by MS-SQL and a VB front end as part of our regulatory upgrade for Y2K.

                  1 Reply Last reply
                  0
                  • N Nemanja Trifunovic

                    Not me, but I personally know five people who actively develop for IBM mainframes with languages such as COBOL, PL/I and Rexx. Three of them are at Verizon, one is a consultant and one works in a Swiss bank. I also know a guy wo was a RPG developer until recently and then decided to become a real estate agent :)

                    utf8-cpp

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

                    Nemanja Trifunovic wrote:

                    PL/I

                    I wrote PL/I back in college. We used Digital Research PL/I-80 on CP/M systems in our computer graphics labs. Our high resolution displays (which cost the school about $10K apiece, at 1980 prices) were 256x192x8 colors.

                    Software Zen: delete this;

                    1 Reply Last reply
                    0
                    • D DaveAuld

                      Your not thinking of writing the code behind for CodeProject using NetCobol for .Net are you? http://www.netcobol.com/products/Fujitsu-NetCOBOL-for-.NET/overview[^]

                      Dave Find Me On: Web|Facebook|Twitter|LinkedIn


                      Folding Stats: Team CodeProject

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

                      All of the hamsters involved in handling your post have just spontaneously combusted.

                      Software Zen: delete this;

                      1 Reply Last reply
                      0
                      • C Chris Losinger

                        yep.

                        77 try-mid value 'n' pic x.
                        88 try-mid-n value 'n'.
                        88 try-mid-y value 'y'.

                        oh, you mean:

                        bool try_mid;

                        ?

                        image processing toolkits | batch image processing

                        C Offline
                        C Offline
                        Chris Meech
                        wrote on last edited by
                        #30

                        That's one example of their use. I used to use them a lot for "bit-wise" enumeration.

                        15 ws-field-attr pic 9 comp.
                        88 underscore value 1.
                        88 blink value 2.
                        88 protected value 4.

                        And in some code there would be

                        move hdr-field-def to ws-field-attr.
                        if underscore Perform AddUnderscoreEscapeToBuffer.
                        if bink Perform AddBlinkEscapeToBuffer.
                        if protected Perform AddProtectedEscapeToBuffer.

                        They allowed for pretty imaginative ways of writing truly readable code. :) [Edit] That code is probably not quite right, but it's the best I can do from memory since I'm only a couple of years away from retirement. :)

                        Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                        1 Reply Last reply
                        0
                        • N Nagy Vilmos

                          'Probably' interfacing to a COBOL system 'somewhere'. Our app communicates to everything via FIX and so for all I know there's a COBOL system out there, somewhere, talking ot us. :~


                          Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                          I Offline
                          I Offline
                          Ian Shlasko
                          wrote on last edited by
                          #31

                          Same here... I think our AS/400 accounting system is COBOL, but I reach it through HTTP/XML queries... But back in the 90s, I did spend part of a summer teaching an old COBOL programmer transition to VB...

                          Proud to have finally moved to the A-Ark. Which one are you in?
                          Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                          R J 2 Replies Last reply
                          0
                          • C Chris Maunder

                            Chris Meech's post[^] piqued my interest because I've been talking to a few guys lately, on the quiet so as not to bust their cover, who do COBOL. So it got me wondering: who's doing COBOL directly, or at the least, interfacing with COBOL modules or back end systems?

                            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                            D Offline
                            D Offline
                            drolfson
                            wrote on last edited by
                            #32

                            Used to. Changed companies, but not for that reason. ;) Anyone here who works at HP and interfaces with the VISTA system, you fit within the category being discussed. (They been trying to kill that old AS/400 since Compaq inherited it in 2000.)

                            1 Reply Last reply
                            0
                            • N Nemanja Trifunovic

                              Not me, but I personally know five people who actively develop for IBM mainframes with languages such as COBOL, PL/I and Rexx. Three of them are at Verizon, one is a consultant and one works in a Swiss bank. I also know a guy wo was a RPG developer until recently and then decided to become a real estate agent :)

                              utf8-cpp

                              M Offline
                              M Offline
                              Member 96
                              wrote on last edited by
                              #33

                              Nemanja Trifunovic wrote:

                              wo was a RPG developer until recently

                              Holy blast from the past. I actually learned a little RPG many many years ago, never did find a use for it though, or COBOL.


                              There is no failure only feedback

                              1 Reply Last reply
                              0
                              • N NormDroid

                                Almost as bad as the vascetomy, but hey that's another story ;)

                                Software Kinetics Wear a hard hat it's under construction
                                Metro RSS

                                J Offline
                                J Offline
                                Jim Crafton
                                wrote on last edited by
                                #34

                                Well if the vasectomy broke your heart, I'd strongly urge you to seek alternate medical services. I'm no doctor, but I'm pretty sure that's not how it's supposed to work.

                                ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                                N 1 Reply Last reply
                                0
                                • C Chris Maunder

                                  Chris Meech's post[^] piqued my interest because I've been talking to a few guys lately, on the quiet so as not to bust their cover, who do COBOL. So it got me wondering: who's doing COBOL directly, or at the least, interfacing with COBOL modules or back end systems?

                                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                  J Offline
                                  J Offline
                                  Jeremy Hutchinson
                                  wrote on last edited by
                                  #35

                                  I just met a guy who is working for a company that wrote an application that ports COBOL code to Azure!!! Talk about working the full spectrum.

                                  1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    Chris Meech's post[^] piqued my interest because I've been talking to a few guys lately, on the quiet so as not to bust their cover, who do COBOL. So it got me wondering: who's doing COBOL directly, or at the least, interfacing with COBOL modules or back end systems?

                                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                    R Offline
                                    R Offline
                                    Roger Wright
                                    wrote on last edited by
                                    #36

                                    Eeewww! I tried COBOL exactly once, in college. Ten lines (cards) of code, 106 lines of preamble, 157 error messages, and not one of the computer center experts could find a single error in my program. Never again... X|

                                    Will Rogers never met me.

                                    S 1 Reply Last reply
                                    0
                                    • H Henry Minute

                                      My first programming gig was COBOL for a Sunny Canadian insurance company, Haven't touched it since though.

                                      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                                      Q Offline
                                      Q Offline
                                      QuiJohn
                                      wrote on last edited by
                                      #37

                                      Henry Minute wrote:

                                      My first programming gig was COBOL for a Sunny Canadian insurance company,

                                      Very similar to your vaporators in most respects.

                                      1 Reply Last reply
                                      0
                                      • C Chris Maunder

                                        Chris Meech's post[^] piqued my interest because I've been talking to a few guys lately, on the quiet so as not to bust their cover, who do COBOL. So it got me wondering: who's doing COBOL directly, or at the least, interfacing with COBOL modules or back end systems?

                                        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                        S Offline
                                        S Offline
                                        Soulus83
                                        wrote on last edited by
                                        #38

                                        And just today a coworker that somehow shares department with us (she is administrative staff, administrative as in "secretary") got all excited because after 2 years of requesting career change, she is finally transferred to dev, guess in charge of what? you got it, ticket support for the old-as-dinosaurs system which is written in COBOL. Of course, she was all excited about it and came running to tell us...to be brought to earth by our straight faces telling her, COBOL has been dead since 20 years ago... Sadly enough, some of the guys of the corner, to whom no one talks to, grabbed her and say they are the COBOL experts in the company...as they still develop and maintain systems, and that they'd be her teachers... :wtf:

                                        "Whether you think you can, or you think you can't--either way, you are right." — Henry Ford "When I waste my time, I only use the best, Code Project...don't leave home without it." — Slacker007

                                        1 Reply Last reply
                                        0
                                        • R Roger Wright

                                          Eeewww! I tried COBOL exactly once, in college. Ten lines (cards) of code, 106 lines of preamble, 157 error messages, and not one of the computer center experts could find a single error in my program. Never again... X|

                                          Will Rogers never met me.

                                          S Offline
                                          S Offline
                                          Steve Mayfield
                                          wrote on last edited by
                                          #39

                                          You either left out a period (one of my missing '.'s generated over 1000 error messages) or maybe a blank card between the source code and the link instructions (done that too - CDC 3150 mainframe) :rolleyes:

                                          Steve _________________ I C(++) therefore I am

                                          R 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