When abend S013-C0 when running a batch job that creates a file to a Spool destination.
ESF553 OPEN FAILED FOR FILE SYSUT2 - RETURN CODE '22' FROM ESF OPEN
Release : 14.0
Component : Spool
The return code 22 from ESFOPEN means:
22—Initial open-output request rejected because an undefined file destination was specified.
- the destination is not defined to Spool
- the parameter DESTVAL=YES is set and the destination is not valid for JES2
- Define the NODE to Spool and to JES2 (if JES2 is validating the destinations)
- Change DESTVAL to NO and recycle the Spool started task