Using EJCK to validate a JCL member in ISPF Edit returns RC=08 with errors:
==MSG> CAY6000 11 STATEMENTS FLAGGED IN JOB "NXVSYGEN" MAXIMUM SEVERITY WAS 8
==MSG>
==MSG> CAY6000 7 STATEMENTS FLAGGED WITH SEVERITY 4
==MSG> CAY6000 4 STATEMENTS FLAGGED WITH SEVERITY 8
==MSG> CAY6000 NO ERRORS WERE SUPPRESSED
==MSG>
==MSG> LINE # LABEL# SV MSG. ID. ERROR MESSAGE TEXT
==MSG> ====== ====== == ======== ============================================
==MSG>
==MSG> 000020 4 CAY6102W MEMBER "NEVSYNO1" NOT FOUND IN LIBRARY
==MSG> "MSP0201.ENDEV.CTLCRDS"
==MSG> 000020 8 CAY6079E DATA SET "MSP0201.ENDEV.SRT" SPECIFIED AS
==MSG> OLD OR SHR, BUT CANNOT BE FOUND
==MSG> ....
But JCLCheck in batch mode ends with RC=00 and no error is found. Why is the discrepancy?
CA REPORT 6 - ERROR MESSAGES PAGE 24
0CA JCLCHECK 12.0.00 SYS: FRED JOB: NXVSYGEN PGMR: CREATE SYNONYMS WEDNESDAY FEBRUARY 9, 2023 1:38:33 PM
0------------------------------------------------------------------------------------------------------------------------------------
STMT MESSAGE >>> INPUT DSNAME = MSP0201.ENDEV.JCLLIB <<<
NUM NUMBER MESSAGE TEXT >>> INPUT MEMBER = NXVSYGEN <<<
------------------------------------------------------------------------------------------------------------------------------------
CAY6000 NO STATEMENTS FLAGGED IN JOB 'NXVSYGEN' MAXIMUM SEVERITY WAS 0
Release : All
Component : JCLCheck Workload Automation
The BYPRUNT runtime option is used in JCLCheck batch mode. This bypasses runtime validation.
Here are the Options In Effect shown in the JCLCheck job listing:
BYPRU(CTL,DB2,DSE,IMS,JES,MEM,PGM,RGN,)
0OPTIONS IN EFFECT: NOEASYRD NOJOB NOMCOUSR NOREMOTE NOREXXMS NOSPACE( 0) CSI CTLSCAN() ERROR(START INLINE END)
0 HCD INCLUDE(ACTIVE) OPTIONS(OPTS) PDS(£ 9999999999) PROC(JCHKPLIB) REPORT RPTRPT
0 SYNTAX TERM(SYSTERM) AUDIT BYPRUNT(ACTIVE) CCLIST(5) FULLLIST JOBSEV LIST(SYSPRINT)
0 PROCXREF PXREF(RPT) RUNTIME SXREF(ACTIVE) XREF(ACTIVE)
Remove option BYPRU(CTL,DB2,DSE,IMS,JES,MEM,PGM,RGN,)
Bypass runtime option is documented here: