No JOBFAIL event generated due to missing $HAPS119 JES2 message when job cancels before execution.

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

Description:

On an IBM z/OS 1.8 operation system, it is possible that no JOBFAIL event will be generated when a job cancels before it executes. Failure to capture this JOBFAIL event can cause CA scheduling solutions to improperly track job submission. The failed job may remain in WAIT-EXEC status. The failure to capture this specific JOBFAIL event was the result of a missing $HAPS119 JES2 message. The following example shows the expected messages under this condition.

  $HASP106 JOB DELETED BY JES2 OR CANCELLED BY OPERATOR BEFORE EXECUTION

and the following messages is seen in the system log...

  $HASP118 CVTJD1AA -- INVALID /* CONTROL STATEMENT
  $HASP119 ENFLIST DELETED - ILLEGAL JECL CARD, RC=8

Solution:

The customer applied IBM fixes UA30437, UA34939, UA35442, UA35581 and UA36910 to resolve the problem. This problem was not evident on the customer's z/OS 1.9 system.