COBOL Plus JCL Equals Magic

The Initiation

I’ve had a love-hate relationship with Job Control Language (JCL) ever since my first encounter with it back in the 1990s. If you wanted to program in COBOL, which I did, there was no way to avoid JCL. All beginner programmers had to complete a week-long JCL tutorial with information similar to that found in this current IBM Basic JCL Concepts tutorial. Of course, almost 30 years ago, my JCL tutorial was presented on a green screen in a non-graphic, dry way. I probably learned more in my first hour running my own job than I did that whole week reading screen after screen of info that seemingly had no context.

The Effort

At the beginning of your career, which is what it will become if you have the tenacity to continue as a COBOL programmer, you can’t begin to comprehend how much time you will spend with JCL over the years. Early on, you may spend hours trying to figure out why your job isn’t running at all or why it abends in a step when it logically shouldn’t. You pour over the job output looking for clues, only to find that you’ve somehow added an extra space in your Jobcard or your output file doesn’t exist when your job expects it to.

The Understanding

As time goes on, after you have run a few jobs and debugged a few outputs, it starts to become a bit clearer that there is a method to this madness. Maybe by this time, you have actually written a Batch COBOL program yourself that reads input, perhaps from a file, performs some processing, and writes output to another file. How do you get that program to run and produce that output? You wrap some JCL around it to tell it what file to use as input and where to save the output. Your job may even be scheduled to run at a certain time through a job scheduler like Control-M.

The Reward

In the end, if you stick with it, it can be a very satisfying experience to understand JCL, create a job, and run it successfully. There is something rewarding, almost magical, about producing JCL that runs your own COBOL program and produces an output that you can see. It took time, but it is a skill that I am happy I have learned and that I use daily.

What is your experience with JCL? Did you put in your own effort to come to understand it and, in the end, find it rewarding?

 

Author: Donna Jennings

I have a BA and a BComm, as well as a Diploma in Programming. I have been a COBOL system designer and coder for over 20 years, and I am still trying to demystify the language for myself...I Love the culture of COBOL and how it has provided so many people, including myself, with a lifelong livelihood. The opinions in my posts are completely my own, based on my many years of experience working in a COBOL development environment.

12 thoughts on “COBOL Plus JCL Equals Magic”

  1. You made some decent points there. I did a search on the subject matter and found most guys will approve with your blog. Claresta Dalis Nickey

  2. If some one wishes expert view on the topic of running a blog afterward i suggest him/her to pay a visit this web site, Keep up the pleasant work. Sherie Shurlock Mayberry

  3. I as well as my buddies were digesting the nice tips and tricks located on your web blog and so instantly I had a terrible feeling I had not thanked you for those techniques. Those men are already totally glad to learn them and have in effect definitely been loving them. Many thanks for getting really thoughtful and also for selecting varieties of quality topics millions of individuals are really eager to be informed on. Our honest apologies for not saying thanks to you earlier.

  4. Wonderful blog! I came across it while searching on Yahoo News.
    Are you experiencing any tips regarding how to get placed in Yahoo News?
    I’ve been trying for some time nevertheless i never appear to get
    there! Thanks a lot

    My web-site – NormandUGhan

Leave a Reply

Your email address will not be published. Required fields are marked *