Batch LOG#ADEL log delete maintenance job failed with S722
search cancel

Batch LOG#ADEL log delete maintenance job failed with S722

book

Article ID: 237462

calendar_today

Updated On:

Products

DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS Database Management for DB2 for z/OS - Administration Suite Database Management for DB2 for z/OS - Performance Suite Database Management for DB2 for z/OS - Recovery Suite Database Management for DB2 for z/OS - SQL Performance Suite Database Management for DB2 for z/OS - Utilities Suite

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

Environment

Release : 20.0
Component : General Services for DB2

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.

 

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.