Adding a log record count to the Send and Receive Log file

The Send and Receive Log file (HULFT.LOG) stores the log record count for each of the logs (the Send Log, the Receive Log, and the Observe Log). HULFT uses this information to delete old log records when the number of log records exceeds the number that you set (threshold). You can add or update the information in the Send and Receive Log file (HULFT.LOG) on the number of log records in each log by using the Program to Add Information on Log Record Count (XRLOGCNT).

Execution of this program does not modify each log record of processing.

Program to Add Information on Log Record Count (XRLOGCNT)

Program Name

XRLOGCNT

XRCRD Definition Card

The following shows the format of the definition card for adding the information on the number of log records that are in each log.

Format of definition card

               a 
LOGCNT={SND|RCV|APT|ALL}

Input contents of definition card

a. Specification of log

This parameter defines the type of log whose log record count you want to add to the Send and Receive Log file (HULFT.LOG). (Mandatory)

SND:

Send Log

RCV:

Receive Log

APT:

Observe Log

ALL:

All logs

Example of JCL

/XRLOGCNT JOB  CLASS=A,MSGCLASS=B                                               
//*                                                                             
//XRLOGCNT EXEC PGM=XRLOGCNT                                                    
//STEPLIB  DD   DSN=HULFT.LOAD,DISP=SHR                                         
//XRLOG    DD   DSN=HULFT.LOG,DISP=SHR                                          
//XRLOG1   DD   DSN=HULFT.LOG.PATH1,DISP=SHR                                    
//XRLOG2   DD   DSN=HULFT.LOG.PATH2,DISP=SHR                                    
//XRPRINT  DD   SYSOUT=*                                                        
//SYSOUT   DD   SYSOUT=*                                                        
//XRCRD    DD   *                                                               
LOGCNT=ALL                                                                      
//                                                                              

DD Name

Value

Description

STEPLIB

HULFT.LOAD

HULFT load module library

XRLOG

HULFT.LOG

Send and Receive Log File ID Key File

XRLOG1

HULFT.LOG.PATH1

Send and Receive Log Host Name Key File

XRLOG2

HULFT.LOG.PATH2

Send and Receive Log Date Key File