
Two different plans supporting the two most common motivations to become COBOL experts. (1) GnuCOBOL for professionals, but (2) want-To-be COBOL professionals might appreciate advice on how to discover supporting 'tech.
Spanning decades of 'tech, there are many flavors of COBOL. Focusing upon the standards common between them all, we'll be able to learn what each has in common.
Because it is free + available to everyone everywhere, GnuCOBOL is what we'll be using.
Since GnuCOBOL support many command-line standard specifications, your ultimate COBOL compiler choice & operating system(s) learning-plan may also be different.
Executing our "action plan," most Modern COBOL standards have an external "compiler." Here how we will use GNU COBOL to create a native executable-file on Linux, as well as on other POSIX inspired operating systems.
All COBOL programs are divided into (1) WORDS, either user defined or reserved (2) SENTANCES ending with a PERIOD, and (3) PARAGRAPHS consisting of several sentences.
Discover how GnuCOBOL's "Mall Map" can help understand Modern COBOL whilst working the "Cobol Commons."
From "Card Languages" (J.C.L) to command-line "Shells," Modern COBOL can be about working smarter, not harder?
So when it came time to compare GnuCOBOL's intrinsically-included Functions with those of the 2014 Standard, it is just another case of "PyBOL," to the rescue?
Prepare yourself to explore COBOL's PAST STANDARDs to better understand your client / employer's Modern COBOL Standard!
The way GnuCOBOL's Command-Line Interface (CLI) operates has much in common with other Modern COBOL Compilers. So too the CDF, which includes meta-information into our COBOL programs.
To Unicode, Or Not?
Resuming a familiar demonstration, in this lesson it is time to explore other COBOL Divisions!
Every Data Division is in the CENTER of the COBOL Commons. So too are the PERFROM and the dreaded GO TO reserved words!
Ever a debugging activity, using GO TO is not the ONLY way to loose control of a program.
A better way to exit any loop?
COBOL had the concept of "enumerations" from the beginning - but why?
Why the "Outside Common" areas are also important.
How to index and search an internal data table.
COBOL has ever defined "searching & sorting" as a key mission.
Firmly enthroned as part of "The COBOL Commons," here is a quick & easy way to sort the previous alphabetic table / array in memory and in-place.
Dynamically SORTing user input allows us to delve into the reserved ACCEPT word, another Level 88, as well as an extremely common reason to use the relatively common FUNCTION TRIM.
The first challenge - Can you create a user-defined, sortable? User requested, on-demand sorting for either an ascending, or a descending result?
When to know that we'll need to re-factor...
Whilst jumping back to 'whenst we came is easy to understand, most feel that - much like our diagrams - having but a single start & entry location is a good idea.
COBOL's reserved CONTINUE word is an easy, one-line way to gracefully exit our PERFROM block.
Documenting what we have just coded is not a very common requirement. -A great way to lock-in what we have learned however, here is what we came up with to document our solution to the previous activity.
Taking it slowly, let's review how to read a file to sort those 26 characters in program memory.
The most "human readable" file type, when we start COBOL we should understand how to create reports for us to read - as well as describe what happens whenever we do not. =)
The opposite of "line sequential" files, the system / space delimited file format (.SDF) is designed to quickly hop-around files having fixed-length record sizes.
COBOL's default sorting mechanism allows us to easily sort data of all sizes using external files.
Custom file sorting can be complex - so let's keep our data the same and master those procedures one step at a time.
Keeping the familiar memory sort - but what else might we do with the data?
Finishing up by saving our sort, the challenge is to practice what you've learned.
Let's take a look at the good, as well as the bad, that A.I can do for I.T.
Ever learning, both the good and bad news is that A.I can do no better than what others have done.
Let's take a look at what we still need to fix.
Taking a playfull pass at re-generating the code, witness how A.I has more to fear from us, than we do from it.
Updated to cover how to use A.I, discover how to create applications on your computer using GnuCobol - COBOL's most free & portable programming standard!
COBOL Opportunities
It is no news that the supply of COBOL software developers is decreasing. Folks who have held their jobs for an entire lifetime are retiring. As COBOL developers retire, corporate recruiters find themselves frantically searching to replacement them. Rather than abandoning decades of multi-million dollar software & technology projects, many companies are understandably connecting their generational COBOL investments to the cloud!
Careers - Not Jobs
Gifting software developers life-long careers, COBOL technology remains a predictable part of every big, tenured, modern business. Governments, laboratories, banks, and many, many other employers & industries are extending great-paying opportunities to a new crop of modern COBOL professionals!
Professional Lifestyles
COBOL software developers often enjoy far more maintainable working hours. Unusually superior work-life balances, as well as profitable pensions. COBOL has powered - and will continue to empower - a seemingly legion of legendary business-oriented software developers.
Understandable Software
Unlike most modern programming languages, COBOL is also easier to read. Ever creating somewhat more maintainable, self-documenting code, if you enjoy tech and don't mind typing then COBOL will not only be fun, but also enjoyably easy to learn!
Standard COBOL
Maybe you've heard about computer programming "standards"?
As you might suspect, computer language standards ensured that code written on one computer can be used upon another. --Whilst other computing programming standards change frequently, COBOL standards do not.
When it comes to the COBOL programming standard, COBOL was simply done right the first time. Indeed, the modern COBOL is so good that it needs no revision every-year; unlike every other standard with which I am familiar, if the future of COBOL is anything like its past, then what COBOL you'll learn today will probably not change in your lifetime.
Can any other programming technology boast the same?
Business First?
Yes, COBOL is so “business oriented” that companies do not have to pay for constant rewrites & upgrades. From Federal, State, and Local Governments COBOL projects are everywhere. From local banking to Wall Street, COBOL has been in use for decades. All of which can use your help!
Conclusions
So if you - or your company - ever tires of the forever-disruptions of other programming ‘tech, then consider using safe, secure, and Modern COBOL. From AWS to zOS, not only has the rumor of COBOLs death been highly exaggerated, but when was the last time anyone heard of a virus attack crippling big-iron? Ransomware?
So when talking about that return on any programming investment (R.O.I) ... bottom-lines ... profitability, as well as job securities, perhaps it is well PAST time for each and all to learn how to "talk COBOL!"