Adding information on record count in the Send and Receive Log file (HULFT.LOG)
The Send and Receive Log file (HULFT.LOG) retains information on the log record count for each log (the Send Log, the Receive Log, and the Observe Log). This information is used to delete older log records when the number of log records exceeds a certain count (threshold). The Program to Add Information on Log Record Count (XRLOGCNT) allows you to add and update the log record count for each log in the Send and Receive Log file (HULFT.LOG).
Executing this program does not alter the log records of the processing.
(1) Running of 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 information on the log record count of each log:
a LOGCNT={SND|RCV|APT|ALL}
- a. Specification of log
-
Describe the log to which you want to add information on the record count.
- SND:
-
Send Log
- RCV:
-
Receive Log
- APT:
-
Observe Log
- ALL:
-
All logs
(2) Usage of Program to Add Information on Log Record Count (XRLOGCNT)
The following is an example of a JOB statement for the Program to Add Information on Log Record Count (XRLOGCNT):
[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 |