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
CA Dispatch output has an LRECL of 32K. This causes a problem for CA-SPOOL.
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.
See CA Dispatch 11.7 System Programmers Guide - Chapter 2: Product Integration
where we discuss CA SPOOL (on or around page 41).