B97DENTE: Notes cleanup batch utility

Overview

The notes cleanup batch utility (B97DENTE) deletes browser notes that are attached to lists that are no longer available (expired or deleted).

Running B97DENTE

You should run this batch utility at regular intervals to ensure that obsolete notes are deleted from the database.

Tailored JCL for this job can be found in member B97DENTE in the BETA97.CNTL and in the corresponding step of the B97DAILY job.

You can also submit this batch utility online via option S.3.7. This will generate JCL from member SE97NCLN of the BETA97.ISPSLIB (skeleton library).

JCL

+--------------------------------------------------------------------+
|jobcard |
|//B97DENTE EXEC PGM=BST01RFF,REGION=0M,PARM=('S=97', |
|// 'PGM=B97DENTE', |
|// 'B01LST=xx', |
|// 'B97LST=xx', |
|// 'SIGNON=YES') |
|//* |
|//STEPLIB DD DISP=SHR,DSN=BETA97.LOAD |
|// DD DISP=SHR,DSN=BSA.LOAD |
|//* |
|//SFFPARM DD DISP=SHR,DSN=BETA.PARMLIB |
|//B97DEF DD DUMMY |
|//* |
|//SFFFDUMP DD SYSOUT=* |
|//SYSABEND DD SYSOUT=* |
|//SYSPRINT DD DUMMY |
|//IRMPRINT DD SYSOUT=* |
|//IRMLOG DD SYSOUT=* |
|//IRMERROR DD SYSOUT=* |
|//* |
+--------------------------------------------------------------------+

Return codes

0

The program terminated normally.

4

The program did not find any data to be removed;
the program terminated normally.

>4

One or several errors occurred during processing.
Please check the job log for details.

Some return codes are program-specific. Others are standard return codes which can also be modified. More information on standard return codes can be found in "Return codes".

IRMLOG

DD IRMLOG contains a summary log listing the number of notes processed and released.

+-----------------------------------------------------------------------------------------------+
|IRM1561I PROGRAM: B97DENTE VERSION: V7R2M00 PTFLVL: ptflvl COMPILED: date, time |
|IRM2100I NOTES CLEANUP PROCESSING STARTED - DATE: 13.03.2020, TIME: 11:23:31 |
|IRM2130I ************************************************************************************* |
|IRM2130I List(s) processed: 2103 |
|IRM2130I Note(s) processed: 26 |
|IRM2130I Note(s) deleted..: 1 |
|IRM2130I ************************************************************************************* |
|IRM2199I NOTES CLEANUP PROCESSING ENDED - DATE: 13.03.2020, TIME: 11:23:31, RC: 0000 |
+-----------------------------------------------------------------------------------------------+