ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Abend S013-C0 - ESF553 OPEN FAILED FOR FILE SYSUT2 - RETURN CODE '22' FROM ESF OPEN

book

Article ID: 238725

calendar_today

Updated On:

Products

Spool

Issue/Introduction

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
IEC141I 013-C0,IGG0199G,FILCAXX2,STEP1,SYSUT2                         

 

Cause

The return code 22 from ESFOPEN means:


22—Initial open-output request rejected because an undefined file destination was specified.

Possible causes:

- the destination is not defined to Spool

- the parameter DESTVAL=YES is set and the destination is not valid for JES2

Environment

Release : 14.0

Component : Spool

Resolution

Possible solutions:

- Define the NODE to Spool and to JES2 (if JES2 is validating the destinations)

Or:

- Change DESTVAL to NO and recycle the Spool started task

 

Additional Information

https://techdocs.broadcom.com/us/en/ca-mainframe-software/traditional-management/ca-spool/14-0/initialization-options/destval.html