Mainframe Path Start learning free
Corez/OS38 min

JCL

Job Control Language is how you tell z/OS to run something. Three statement types do almost all the work, and DISP causes almost all the trouble.

What you will be able to do

Lessons

  1. What JCL is for
    JCL is not a programming language. It is a work order. It says which program to run, what files to give it, and what to do with those files afterwards.
  2. The JOB and EXEC statements
    The JOB statement is the header: who is running this, how it should be classified, and what should happen if it goes wrong.
  3. DD statements: connecting programs to data
    A DD statement answers one question: when this program asks for the file it calls INFILE, what should it actually get?
  4. DISP, the parameter that causes the most trouble
    DISP has three parts: what state the dataset is in now, what to do if the step succeeds, and what to do if it fails.
  5. Procedures, symbols and overrides
    A procedure is reusable JCL kept in a library. You call it, and optionally change parts of it from outside.

Track your progress and earn a certificate.
Free account, 393 quiz questions for this subject.

Start this subject