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

JCL generator

Fill in a form to get ready-to-run JCL for everyday jobs.Use this when you need a ready-to-edit job for an everyday task such as allocating, copying, deleting or sorting a data set.

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

What it does

Fills in ready-to-run JCL for everyday jobs from a short form.

How to use it

  1. Choose the job you want to do.
  2. Fill in the names and sizes in the form.
  3. Copy the JCL, or download it, and check it before you submit.

What it cannot do

  • Replace the example names, job class and accounting with your site's before you submit.
  • It covers the common options of each template, not every utility option.

This tool opens with an example already filled in.

What do you want to do?

Words used here: DCB is the set of record attributes (record format, record length, block size). A referback (VOL=REF=*.STEP.DD) copies a setting from an earlier DD statement. Concatenation lists several data sets under one DD so they are read as one.

Job card
CHECK ▸
columns 1–71 checked

ACCURACY · CHECKED AGAINST IBM RULES

Templates follow the z/OS JCL and utility references. Replace the example names and check your site's JOB card, classes and storage rules before you submit.

What it checks

  • ConfirmedBuilds a JOB card from the job name, accounting, class and MSGCLASS you enter, with optional NOTIFY.
  • ConfirmedTemplates for IEFBR14 allocation, IDCAMS delete and VSAM define, IEBGENER and IEBCOPY copies, DFSORT and TSO batch.
  • ConfirmedStatements are wrapped at column 71 with continuation lines, and the job can be sent straight to the JCL checker.

What it does not check

  • Depends on your systemYour site's JOB card, job classes, accounting and storage rules: replace the example names before you submit.
  • Depends on your systemWhether the data sets you name exist, or whether you may create or read them.
  • UnsupportedUtility options beyond the common ones in each template.

Source

  • z/OS MVS JCL Reference and the z/OS utility references (IEFBR14, IDCAMS, IEBGENER, IEBCOPY); no page-level addresses are recorded in docs/FACTS.md

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

  • Each text box: 200,000 characters.

EXAMPLE INPUT

Task: Create a data set (IEFBR14); job name MYJOB01, class A, MSGCLASS X

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'