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.

Log delete maintenance job failed S722

book

Article ID: 237462

calendar_today

Updated On:

Products

DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS

Issue/Introduction

The batch log delete job (LOG#ADEL) failed with S722 abend.

HASP375 jobname  ESTIMATED  LINES EXCEEDED                       
IEF450I jobname AUTODEL DSN - ABEND=S722 U0000 REASON=00000000

Cause

The site installation output limit is being exceeded. This indicates that there are more log records than usual to delete for a particular date.

 

Environment

Release : 20.0

Component : General Services for DB2

Resolution

To resolve this failure, the log delete job should be amended with one of the following:

1. Provide OUTLIM=9999999 for SYSPRINT DD.

//SYSPRINT DD  SYSOUT=*,DCB=(LRECL=133,RECFM=FB,BLKSIZE=1330),OUTLIM=9999999

2. Update the JES2 setting for ESTLNCT  to ESTLNCT  NUM=600,INT=10000,OPT=0

3. Provide a dataset name for the SYSPRINT DD instead of SYSOUT=* with required space parameters.

Then rerun the log delete job.

Additional Information

Note, the number of days to retain each products log records are controlled by the settings in the ALOGDEL Parmlib member in CDBAPARM.

Further details can be found in the log maintenance facility documentation.