C1A0010E and C1A0011E errors in Endevor Compile Processor
search cancel

C1A0010E and C1A0011E errors in Endevor Compile Processor

book

Article ID: 101572

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Receiving error using COBOL/CICS/DB2 processor to compile a program. Error is below:

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  

What is wrong?

Cause

The temp data set &&DSNHOUT 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),                                    
    

Resolution

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