Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange Change Data Capture Introduction
  3. Part 2: CDC Components Configuration and Management
  4. Part 3: CDC Sources Configuration and Management
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: CDC for z/OS Troubleshooting
  8. Appendix B: DTL__CAPXTIMESTAMP Time Stamps

Deleting Log Data Sets from the ERDS

Deleting Log Data Sets from the ERDS

The DELETE_LOG command deletes all information about a specified log data set from the emergency restart data set (ERDS).
You can run the DELETE_LOG command as part of a batch job or interactively, whenever you need to delete a log. For example, run this command to delete outdated archive log data sets.

Syntax

To issue the DELETE_LOG command with the MVS MODIFY command, use the following syntax:
F
proc_name
,DELETE_LOG DSNAME=
log_dataset_name
To issue the DELETE_LOG command as part of a batch job, use the following syntax:
DELETE_LOG DSNAME=
log_dataset_name
END
The following table describes the DELETE_LOG parameters:
Parameter
Description
Valid Values
DSNAME
Specifies the fully qualified data set name for the log data set for which to delete information from the ERDS.
A data set name up to 44 characters in length.
END
Indicates that the input for this command is complete. Required if you include the command in a batch job.
Not applicable.
proc_name
Specifies the PowerExchange Logger procedure name. Required if you issue the command interactively.
A valid proc name.

Usage Notes

  • If you use the MVS MODIFY command to run the DELETE_LOG command in interactive mode, the PowerExchange Logger can continue running.
  • If you run the DELETE_LOG command as part of a batch job, you must stop the PowerExchange Logger before the batch job runs. Also stop any ECCR that is running against data sources for which the PowerExchange Logger logs changes.

Sample JCL

The following sample JCL deletes an archive log data set in batch mode. Replace the question marks (????) with the PowerExchange Logger ID.
//jobname JOB //DEFLOG EXEC PGM=EDMLC000,PARM='????,BATCH' //STEPLIB DD DISP=SHR,DSN=HLQ.LOAD <=== PWX LOAD //EDMPARMS DD DISP=SHR,DSN=YOUR.USERLIB <=== EDMSDIR,EDMUPARM //ERDS01 DD DISP=SHR,DSN=YOUR.????.ERDS01 <=== PRI RESTART DSN //ERDS02 DD DISP=SHR,DSN=YOUR.????.ERDS02 <=== SEC RESTART DSN //SYSPRINT DD SYSOUT=* //SYSIN DD * DELETE_LOG DSNAME=
archive_log_dataset_name
END /*

0 COMMENTS

We’d like to hear from you!