Why am I getting the message "UNABLE TO ATTACH JCL" for one job only?

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

Issue:

When a certain job is attempting to enter the queue and one of the following messages is produced:

SATO-38 JOB jobname (nnnn) NOT ENTERED INTO REQUEST 'Q'. 0000841C JCL ***
SPO7-13 UNABLE TO ATTACH JCL (nnnn) - JOB jobname
SCNJ-18 JOB jobname NOT ENTERED INTO REQUEST 'Q'

The messages point to the size of the trailer queue, but if your trailer queue is not out of space, it could be that this job has too many lines of JCL

Resolution:

When CA 7 brings a job into the request queue, the JCL for that job is written to the trailer queue. If the JCL member is so large that it takes more than 31 tracks from the trailer queue, it will not successfully schedule into the queue. Instead of inline JCL, break the executables into procedures executed by this JCL.

Additional Information:

As always, please contact CA Technologies support for CA 7 if you have further questions.