Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

JCL checker

Find common JCL mistakes and read each statement in plain English.Use this when a job fails with a JCL error, or you want to catch common mistakes in JCL before you submit it.

Checked against IBM rulesON THIS DEVICE · NOTHING UPLOADEDCounting requests…
How to use this tool

What it does

Reads JCL you paste, flags common mistakes and explains each JOB, EXEC and DD statement in plain English.

How to use it

  1. Paste a job, a procedure or a few lines of JCL.
  2. The check runs as you paste; no button is needed.
  3. Fix what is flagged, and read each statement in plain English.

What it cannot do

  • It does not expand procedures or INCLUDE members.
  • It cannot know whether data sets or programs exist, or what your security allows.
  • A job that passes can still fail on z/OS.

JCL · paste a job, procedure or fragment
columns 1–71

Your JCL is kept in this browser to save retyping. Clear it or keep it for this tab only on the Privacy page.

Checks syntax, columns, continuation, names, DISP, SPACE, DCB, COND and the DD names common utilities need. It cannot see your system's catalog, security or installation defaults.

Commands to copy

Copy only: this page runs nothing and connects to nothing. Check each command, and your own system's settings, before you run it. The shell commands are written for a Unix-style shell (bash or zsh); PowerShell and cmd quote differently, so adjust the single quotes there.

ACCURACY · CHECKED AGAINST IBM RULES

Catches common JCL mistakes using rules from the z/OS JCL Reference (columns, continuations, DISP, SPACE, DCB, names). It is not a full JCL converter: symbols, procedures and system defaults are only resolved by z/OS itself.

What it checks

  • ConfirmedColumns, continuation lines, statement and step names, and operand syntax (JOB, EXEC, DD).
  • ConfirmedDISP, SPACE and DCB values, PARM length (100 characters at most) and data set names (44 characters, 8 per qualifier).
  • ConfirmedCOND and the DD names common utilities need (for example SYSIN and SYSPRINT).
  • ConfirmedSecurity habits: PASSWORD on the JOB card, GROUP or PASSWORD without USER, PROTECT=YES, and passwords written in in-stream data.
  • Depends on your systemData-set flow: which step creates, reads, updates or deletes each data set, and whether a step is bypassed by COND, with each finding labelled.
  • ConfirmedBatch estate summary over every job in the text: steps, programs, procedure calls, and which data sets each step reads and writes, with data sets passed between jobs. A program counts as a utility only when IBM's DFSMS utility list names it.

What it does not check

  • UnsupportedThe estate summary does not expand procedures or INCLUDE members, and shows read and written as the JCL says, not as the program behaves.
  • Depends on your systemWhether data sets, programs and procedures exist or are cataloged on your system.
  • Depends on your systemSecurity (RACF or equivalent) permissions and installation defaults for job class, accounting and SPACE.
  • UnsupportedProcedures (PROC calls and in-stream PROCs), JCLLIB, INCLUDE, overrides, GDG numbers and symbols other than a plain SET NAME=value.
  • Depends on your systemReturn codes of programs, so an IF/THEN/ELSE or most COND tests cannot be decided before the job runs.
  • Depends on your systemA job that passes this check can still fail on z/OS; only z/OS resolves symbols, procedures and defaults.

Source

Checked against IBM rules. Status labels: Confirmed Depends on your system Unsupported (a rule with an official source; depends on your catalog, security, installation defaults or compiler options; not parsed and shown instead of guessing).

Input limits and example

  • JCL text: 200,000 characters.
  • The estate summary lists up to 200 jobs and 500 data sets; the counts cover everything.
  • Operands end at column 71; columns 73-80 are ignored.

EXAMPLE INPUT

//MYJOB    JOB (ACCT),'NAME',CLASS=A
//STEP1    EXEC PGM=IEFBR14
//DD1      DD DSN=MY.NEW.FILE,DISP=(NEW,CATLG)

Check it yourself in one minute

  1. Open your browser's developer tools: in Chrome or Edge press F12 or right-click and choose Inspect; in Firefox press Ctrl+Shift+E for the Network Monitor; in Safari first turn on Show features for web developers under Settings, Advanced. Then open the Network tab.
  2. Keep the log across page loads (Chrome: Preserve log; Firefox: Persist Logs), then use the tool: paste your text or open a file and press the button.
  3. Look at the list. You will see only this page and its own files, loaded when the page opened. Nothing new appears when you use the tool.
  4. Still unsure? Switch Wi-Fi off and try again. The tool still works.

What the badge counts: requests the browser logged after this page finished loading, other than the site's own files. It reads the browser's own record and makes no request of its own. If your browser cannot give that record, the badge says so. The badge is a convenience; the developer tools are the proof.

The rule that enforces it

Every page carries this Content Security Policy. The browser itself refuses any request outside it; connect-src 'none' blocks fetch, XHR and WebSocket.

default-src 'none';
script-src 'self';
style-src 'self';
img-src 'self' data:;
font-src 'self';
connect-src 'none';
object-src 'none';
form-action 'none';
base-uri 'none';
manifest-src 'self';
worker-src 'self'