Hands on COBOL

Posted on 2006-03-23
Last Modified: 2010-04-17
I'm interested in learning a little about COBOL in hands on sort of way -not academically.  I mean I want to write something and test it as I'm learning.  I don't know where to begin.  I need some guidence. I'm really not a programmer - know about DOS scripts only.  I'm looking for an easy way to get to know COBOL.

I think I need some kind of tuturial and some kind of environment I can run COBOL on a PC.  
Question by:imherson
    LVL 11

    Accepted Solution

    The above link should have all you asked for (various free compilers and free tutorials).
    Can't imagine why you would want to mess around with COBOL though, don't get me wrong, worked in COBOL for 4 years, but it's structured to do data crunching, which it does well I suppose.  Also pretty easy to learn, but not as easy as Visual Basic.
    LVL 11

    Expert Comment

    Almost forgot, the best editor / compiler for COBOL (IMHO) is from Micro Focus, but its not free so...

    Author Comment

    I want to get it on my resume. BTW, I thought this ran on a mainframe.  If that's true, have you ever heard of a virtual machine (vmware or other virtual environment) that I could run this on.
    LVL 11

    Expert Comment

    There are compilers which allow you to run COBOL on a PC, when I was taught COBOL it was on a desktop PC (an old 486, yes it was a while ago) In some flavours of COBOL you can even do Windows API calls.  Some simply translate the COBOL into C and compile the C code for execution, try avoid these translators if you can, they can add unneeded complications if the translator mistranslates and then the C code won't compile.  You want to learn COBOL not C.  The manual I got while learning was quite good, I will dig around and see if I still have it to give you the title, although it's probably out of print.  BTW The most common flavour of COBOL in use today is COBOL 85, not all that much difference though so don't stress if you can't get a compiler for that flavour.  Also if you have some cash to spare you can buy the .Net COBOL addon which allows you to write COBOL for the .Net platform.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    This article will show, step by step, how to integrate R code into a R Sweave document
    This is about my first experience with programming Arduino.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now