When TYPRUN=SCAN is given, jcl errors are not shown in the job output queue.
For eg : This is the job :-
//IDCAMS JOB 7220,'JEXEC',CLASS=T,MSGCLASS=T,NOTIFY=&SYSUID,
//STEP001 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//DD1 DD DSN=EBL.ZZTEST.BLD11XO1.PM8,DISP=SHR
//TOOLIN DD DATA
COUNT FROM(DD1) EMPTY
DD1 file is not existing, so giving disp=shr gives jcl error 8 on doing !jck.
But when typrun=scan is given and job is submitted, following is the output queue :-
NP DDNAME StepName ProcStep DSID Owner C Dest Rec-Cnt PAGE
JESMSGLG JES2 2 GALAKAL T LOCAL 10
JESJCL JES2 3 GALAKAL T LOCAL 8
JESJCL is just showing JCL and JESMSGLG is not showing any erros.
Where is the result of JCL scanning (CC=8, disp=shr but file not found) ?
TYPRUN=SCAN checks the JCL only through the converter, not the interpreter. The difference is that the converter basically checks all expressions to the LEFT of an equal sign plus SOME expressions to the right of an equal sign (and issues messages that start with IEFC), while the interpreter checks all expressions to the RIGHT of an equal sign (and issues messages that start with IEF). For example, a data set name containing a qualifier that exceeds eight characters,