Problem:
On submitting a JCL, the following error is seen in the log:
JCLCM0187I JOB65040 ZLO10DN0 JOB SUBMITTED (JOBNAME=ZLO10DN0,JOBNUM=65040) 14:38:08 
JCLCM0172E JOB65040 ZLO10DN0 JOB FAILED - JCL ERROR 14:38:08 
JES000050E JCL parsing error: Job: 065040 RC = 8 14:38:08 Processed "/appl/mfocus/wrapper/jcl/copy/ZLO10DN0.JCL"
and in the spool o/p
  53 //JLO4M    EXEC ZPLNIMS,MBR=IKJEFT1B,COND=(4,LT) 
**** JCLCM0406E PROCEDURE NOT FOUND 
**** JCLCM0414E INVALID OR UNKNOWN OR UNEXPECTED OPERAND 
Similar errors also seen in the console log:
JCLCM0187I JOB65088 ZLFG0DNP JOB  SUBMITTED (JOBNAME=ZLFG0DNP,JOBNUM=65088)
JCLCM0172E JOB65088 ZLFG0DNP JOB  FAILED  - JCL ERROR 12:49:46
JES000050E JCL parsing error: Job: 065088 RC =    8 12:49:46
JCLCM0187I JOB65089 ZLFG0DNP JOB  SUBMITTED (JOBNAME=ZLFG0DNP,JOBNUM=65089)
JCLCM0172E JOB65089 ZLFG0DNP JOB  FAILED  - JCL ERROR 13:13:34
JES000050E JCL parsing error: Job: 065089 RC =    8 13:13:34
JCLCM0187I JOB65090 ZLFG0DNP JOB SUBMITTED
(JOBNAME=ZLFG0DNP,JOBNUM=65090)
JCLCM0172E JOB65090 ZLFG0DNP JOB  FAILED  - JCL ERROR 13:19:41
JES000050E JCL parsing error: Job: 065090 RC =    8 13:19:41
Resolution:
The JCL is calling a PRC that has not been added to the PROCLIB, hence the “procedure not found” message.
The solution is to add the PRC to the PROCLIB in the Catalog using ESMAC.
Note that here is a list of the JCL Return Codes:-
JCL Return Code=0 (Prog. Executed Successfully) 
JCL Return Code=4 (Prog. Executed Successfully but with warnings) 
JCL Return Code=8 (Error) 
JCL Return Code=12 (Serious Error) 
JCL Return Code=16 (Fatal Error)
#found
#JES000050E
#invalid
#parsing
#unknown
#error
#JCLCM0406E
#JCL
#procedure
#unexpected
#OPERAND
#JCLCM0414E

