//PAYROLL1 JOB (ACCT),'DAILY PAYROLL',CLASS=A,MSGCLASS=X
Starts job PAYROLL1, class A, message class X.
Paste a JCL job to check its JOB, EXEC, and DD statements. The checker looks for layout errors, invalid names, unknown keywords, and bad values in COND, DISP, SPACE, DSN, and DCB. Each statement also gets a plain-English explanation.
How to use it
Runs in your browser. Nothing is uploaded.
JCL checker
//PAYROLL1 JOB (ACCT),'DAILY PAYROLL',CLASS=A,MSGCLASS=X
Starts job PAYROLL1, class A, message class X.
//STEP010 EXEC PGM=SORT
Runs program SORT as step STEP010.
//SORTIN DD DISP=SHR,DSN=PROD.PAYROLL.INPUT
Defines SORTIN for data set PROD.PAYROLL.INPUT, with disposition SHR.
//SORTOUT DD DISP=(NEW,CATLG,DELETE),DSN=PROD.PAYROLL.SORTED, X // SPACE=(CYL,(5,1),RLSE),UNIT=SYSDA, X // DCB=(RECFM=FB,LRECL=80,BLKSIZE=6000)
Defines SORTOUT for data set PROD.PAYROLL.SORTED, with disposition (NEW,CATLG,DELETE).
//SYSOUT DD SYSOUT=*
Sends SYSOUT to SYSOUT, using the job message class.
//SYSIN DD *
Defines SYSIN as instream data. Lines up to the next /* are read as data.
Instream data: 1 line.
Need this at work?
Free account saves tutorial progress. The jobs board lists openings that ask for JCL.
The checker reads text only. It does not connect to z/OS, so it cannot confirm that a data set exists, that a program or procedure is installed, or that a user has access. It does not evaluate IF and ELSE tests, expand procedures, or resolve symbolic parameters such as &HLQ. Use the result as a first pass, then check the job log after the run.
The JCL coding sheet shows where each field starts and ends. The DD statement tutorial covers the operands that the checker reads most often. For a parameter the checker does not cover, use the IBM JCL reference for your z/OS release.
A JCL job is a list of instructions for the mainframe, written one card at a time. The checker reads the cards in order. It makes sure each card starts in the right place, has a name where one is needed, and uses words the mainframe understands. Then it describes each card in plain words, so you can see what the job asks the mainframe to do.
Each statement has its own tutorial. The COND parameter page explains return code tests, and the DISP page lists every status and disposition. Other calculators and checkers are on /tools.