C1A0010E and C1A0011E errors in Endevor Compile Processor

book

Article ID: 101572

calendar_today

Updated On:

Products

CA Endevor Software Change Manager (SCM) CA Endevor Software Change Manager - Natural Integration (SCM) CA Endevor Software Change Manager - ECLIPSE Plugin (SCM) CA Endevor Software Change Manager - Enterprise Workbench (SCM)

Issue/Introduction

Problem using  Cobol/cics/db2  type Processor to compile a program. Error is below.
 
C1X0012I STEP SYSCHK INVOKING PROGRAM IRXJCL 
C1X0013I PARM=OPSCC420 RPSTRPY2 
C1X0010I STEP SYSCHK PROGRAM IRXJCL COMPLETED, RC=0000 
C1A0010E ALLOCATION ERROR RC=1708-0002, DDNAME=SYSCIN 
C1A0011E IKJ56228I DATA SET &&DSNHOUT NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED  
C1G0144I PROCESSOR YPLU2O47 EXECUTION COMPLETED, HIGHEST PROCESSOR STEP RC WAS 0012 
C1G0277I GENERATE PROCESSING TERMINATED BECAUSE OF THE PREVIOUS ERROR 
C1G0200I ELEMENT ACTION REQUEST PROCESSING COMPLETED, HIGHEST ENDEVOR RC WAS 0012 
C1G0210S SERIOUS ERROR HAS OCCURRED - PROCESSING WILL BE TERMINATED. 
END OF EXECUTION LOG - HIGHEST ENDEVOR RC = 0016 
What is wrong?

Cause

The Temp data set getting the allocation error was involved in an IF/THEN/ELSE statement.
The DISP specification for the file was incorrect in the ELSE version.
//  IF (SYSCHK.RC = 2) THEN  
//*            
//*===========================================
//*   PRECOMPILE THE PROGRAM  
//*===========================================
//PCWO     EXEC    PGM=DSNHPC,PARM=(&PREOPTS),                
//             MAXRC=04,                                      
//             COND=(2,LT)                           
//STEPLIB  DD  DSN=DB2PROD.DSNEXIT,DISP=SHR                   
//         DD  DSN=DB2PROD.DSNLOAD,DISP=SHR                   
//SYSCIN   DD  DSN=&&DSNHOUT,                                 
//             DISP=(MOD,PASS),                                             
.  .  .  

//  ELSE                                                                
//*                                                                     
//*===========================================  
//*   PRECOMPILE THE PROGRAM              
//*===========================================  
//*                                                                     
//PCW      EXEC    PGM=DSNHPC,PARM=(&PREOPTS),                          
//             MAXRC=04,                                                
//             COND=(2,LT)                                            
//STEPLIB  DD  DSN=DB2PROD.DSNEXIT,DISP=SHR                             
//         DD  DSN=DB2PROD.DSNLOAD,DISP=SHR                             
//SYSCIN   DD  DSN=&&DSNHOUT,                                           
//             DISP=(OLD,PASS),                                    
    

Environment

Release:
Component: ENDBAS

Resolution

Changed it from DISP=(OLD,PASS) to DISP=(MOD,PASS) like it was in the IF version.