CA JCLCheck Workload Automation ChekPlex step completes with RC=28, and error code 04160308

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

Description:

JCLCheck step is validating JCL for a remote system and terminates with RC=28.
CACP04900E Target Server CAGTS10 returned with error (RC 04160308) error message is shown in the JOB joblog.

In the remote CAGTS task, in file CPERROR, message CACP02084D CAGSCPPR - TS CAGTS10 returned with RC: 04160308 is found.

This indicates:
04: An error occurred on the target system
16: A problem was detected in an input file
03: The error occurred when getting list of members
08: Processing ends with an error

Additional error messages can be found in the remote CAGTS JOB log:

IEW4000I FETCH FOR MODULE CAZ2CJCL FROM DDNAME STEPLIB FAILED BECAUSE INSUFFICIENT STORAGE WAS AVAILABLE.
CSV031I LIBRARY ACCESS FAILED FOR MODULE CAZ2CJCL, RETURN CODE 24, REASON CODE 26080021, DDNAME STEPLIB

This message gives us the actual reason for getting a return code 28 in the JCLCheck step.

Solution:

When the symptoms above occur and messages for CAZ2CJCL are being issued, it indicates a problem with the region size allocated for the remote CAGTS task.

Add REGION=4046K to the remote CAGTS job step and recycle the task.

Then run the JCLCheck ChekPlex validation again.
It now completes normally. Then you can check the REPORT 6 section for any errors that may have been found in the JCL being checked.