Dispatch RPO task abending with S013

Document ID : KB000106043
Last Modified Date : 18/07/2018
Show Technical Document Details
Issue:
The CA Dispatch RPO subtasks is abending with a S013 abend when attempting to write output to JES that is destined to print on a CA SPOOL defined printer. When the abend occurs, the following messages are seen in the CA Dispatch logs:

ESF553 OPEN FAILED FOR FILE R15TPQAB- RETURN CODE '10' FROM ESF OPEN 
ESF556 OPEN FAILED FOR FILE R15TPQAB- ERROR IN SJF PROCESSING 
IEC141I 013-C0,IGG0199G,DISPATCH
 
Environment:
z/OS
 
Cause:
CA Dispatch output has an LRECL of 32K. This causes a problem for CA-SPOOL.
Resolution:
To address the problem, on the DESTID statement in your CA SPOOL parameters, add a DESTID QUSERID=cadsdisp,FLRECL=133 parameter.

The value for QUSERID comes from the userid assigned to the CA Dispatch started task.
The value for FLRECL is determined by the actual LRECL that you want to "force" the CA Dispatch output to be.
Additional Information:
See CA Dispatch 11.7 System Programmers Guide - Chapter 2: Product Integration
where we discuss CA SPOOL (on or around page 41).