Syntax Checking Example


Scenario - Syntax checking of the step.

JCL -

----+----1----+----2----+----3----+----4----+----5----+
//MATEPKS  JOB (123),'MTH',CLASS=A,MSGCLASS=A,
//            MSGLEVEL=(1,1),NOTIFY=&SYSUID 
//*
//STEP10   EXEC PGM=IEFBR14
//DD1      DD DSN=MATEPK.IEFBR14.PSFILE1,
//            DISP=(NEW,CATLG,DELETE),
//            SPACE=(TRK,(3,2),RLSE),
//            UNIT=SYSDA,VOLUME=SER=DEVHD4,
//            DCB=(DSORG=PDS,RECFM=FB,LRECL=80,BLKSIZE=800)

Output -

Go to Spool (SDSF -> ST) and verify the status in the JESYSMSG DDname of the corresponding job.

Syntax Checking Status

Explaining Example -

  • DD1 DD ... - Specifies PS dataset with DISP for creation.
  • DSORG=PDS - Syntax error coded.