Endevor JCLCHECK processor step is failing with a RC=2013
search cancel

Endevor JCLCHECK processor step is failing with a RC=2013

book

Article ID: 278812

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Added a new JCLCHECK step to the processor and it fails with a 2013 error when trying to capture the SYSPRINT and SYSTERM output to temp datasets to store in the LISTLIB.

//JCLCHECK EXEC PGM=JCLCHECK,MAXRC=4,PARM='O(OPTS)'         
//STEPLIB  DD  DSN=hlq.mlq.SDSNLOAD.JCLCHECK,DISP=SHR
//SYSPRINT DD  DSN=&&JCK1,DISP=(OLD,PASS)                  
//SYSTERM  DD  DSN=&&JCK2,DISP=(OLD,PASS)                   
//SYSTSPRT DD  SYSOUT=*  
C1X0010I  STEP JCLCHECK PROGRAM JCLCHECK COMPLETED, RC=2013  

IEC141I 013-20,IGG0191A,ISCO006G,ENDES000,SYSTERM,945F,WRK935,  365  
SYS24033.T103910.RA000.ISCO006G.JCK2.H07      

 

When SYSPRINT and SYSTERM are changed to SYSOUT=*,  everything works and the step gets a RC 0                    

Environment

All supported versions 

Resolution

Both of the JCLCHECK datasets were allocated with LRECL=133:

//C1INIT02 DD  DSN=&&JCK1,DISP=(,PASS),                     
//             SPACE=(CYL,(10,100)),                        
//             DCB=(RECFM=FB,LRECL=133,BLKSIZE=0,DSORG=PS)  
//C1INIT03 DD  DSN=&&JCK2,DISP=(,PASS),                     
//             SPACE=(CYL,(10,100)),                        
//             DCB=(RECFM=FB,LRECL=133,BLKSIZE=0,DSORG=PS)  

 

The SYSTERM  dataset needs to be allocated with LRECL=80

//C1INIT03 DD  DSN=&&JCK2,DISP=(,PASS),                     
//             SPACE=(CYL,(10,100)),                        
//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PS)