Running any of the CA IDMS reports, e.g. a JREPORT or SREPORT, may complete with a return code of 0 but issue error messages 0S07I and 0S02I.

Document ID : KB000056946
Last Modified Date : 14/02/2018
Show Technical Document Details

Running any of the CA IDMS reports, e.g. a JREPORT or SREPORT, may complete with a return code of 0 but issue error messages 0S07I and 0S02I:

0S07I PROBLEM PROGRAM  PSW = 071D0C00 nnnnnnnn  

0S02I A CANCEL OR CANCEL ALL MACRO WAS ISSUED

0S00I JOB jobname CANCELED

1S78I  JOB TERMINATED DUE TO  PROGRAM ABEND                                                                               

BG 0000 EOJ jobname  MAX.RETURN CODE=0000   

 

The problem occurs when one of the 3 input files is missing. There should be 3 EOFs after the SYSIN if there is no user input and no restart parameters. The JCL should look like this:

// EXEC CULPRIT,SIZE=1024K 

DATABASE DICTNAME=SYSDIRL 

PARAM=NOLIST 

INPUT 32000 32000 UM(CULLJRNL) 

JREPORT=011 

/* 

/* 

/*