Endevor COBOL 6 compile ends with "RC = 0012" & "IGYCRCTL ..., RC=0008"
search cancel

Endevor COBOL 6 compile ends with "RC = 0012" & "IGYCRCTL ..., RC=0008"

book

Article ID: 228384

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Running a job after updating an Endevor PROCGRP with a new version of Cloud Compiler library (COBOL 6), the PROCGRP compile step met an error.

Environment

All 

Endevor 

Cobol 6 

Resolution

Job  Log showed:
+++
...
00.06.12 JOB22416  $HASP395 ******** ENDED - RC=0012
...
           00:01:43  C1X0012I  STEP INIT INVOKING PROGRAM BC1PDSIN
           00:01:43  C1X0010I  STEP INIT PROGRAM BC1PDSIN COMPLETED, RC=0000
           00:01:43  C1X0012I  STEP EXPAND INVOKING PROGRAM CONWRITE
           00:01:43  C1X0013I  PARM=EXPINCL(Y)
           00:01:43  C1G0280I  ELEMENT AT LOCATION TEST/T/HIS/APCCMS/COBOL SELEC
           00:01:43  SMGR128I  ELEMENT VVLL 0100 WRITTEN TO ELMOUT
           00:01:43  C1X0010I  STEP EXPAND PROGRAM CONWRITE COMPLETED, RC=0000
           00:01:43  C1X0012I  STEP TRNSLAT INVOKING PROGRAM DFHECP1$
           00:01:43  C1X0013I  PARM=COBOL3
           00:01:44  C1X0010I  STEP TRNSLAT PROGRAM DFHECP1$ COMPLETED, RC=0000
           00:01:44  C1X0012I  STEP COMPILE INVOKING PROGRAM IGYCRCTL
           00:01:44  C1X0013I  PARM=NUMPROC(NOPFD)
           00:06:11  C1X0010I  STEP COMPILE PROGRAM IGYCRCTL COMPLETED, RC=0008
           00:06:11  C1G0129E  STEP COMPILE RC (0008) EXCEEDS THE MAX RC (0004)
...
           00:06:12  C1G0144I  PROCESSOR ******* EXECUTION COMPLETED, HIGHEST PR
           00:06:12  C1G0277I  ADD PROCESSING TERMINATED BECAUSE OF THE PREVIOUS
           00:06:12  C1G0200I  ELEMENT ACTION REQUEST PROCESSING COMPLETED, HIGH
                     END OF EXECUTION LOG - HIGHEST ENDEVOR RC = 0012
...
 TCC0039I Cloud Compiler for 5655-EC6 IBM Enterprise COBOL for z/OS Version 6
...
 TCC0100I Display of relevant options at start of SYSIN
...
 TCC0006I            MDeck = No
...
 TCC0066E The SYSMDECK DD statement is required for the specified compiler optio
...
  TCC0035I Cloud Compiler terminating at 0:06:11, return code 8
+++

The root cause is the TCC0066E SYSMDECK error.
With the new versions of COBOL 5 and COBOL 6, there are many changes necessary to the compiler JCL to include new DD statements for SYSUT8-SYSUT15 and for SYSMDECK. 
The SYSMDECK DD statement must be present in the compiler JCL even though "MDeck = No" is being set.

Please review the following IBM links for more information.
What is new and different with Enterprise COBOL Version 5 and Version 6

Changes with Enterprise COBOL Version 5 and Version 6

Defining the library-processing output file (SYSMDECK)