Datacom CDC Reset CDCL_RESET DB01301E - CONSOLE BAD COMMAND
search cancel

Datacom CDC Reset CDCL_RESET DB01301E - CONSOLE BAD COMMAND

book

Article ID: 193273

calendar_today

Updated On:

Products

Datacom Datacom/DB

Issue/Introduction

Datacom reset of the Change Data Capture (CDC) feature with the CDCL_RESET command fails with error:
 
DB01301E - CONSOLE BAD COMMAND - CDCL_RESET * 

Environment

z/OS

 

Cause

The CDCL_RESET command has been removed and replaced by the command CDC RESET.

Resolution

CDC RESET clears the current status in the LXX log area control block to indicate no log records are flagged as of interest to CDC.

CDCL must be closed and CDCM open before doing the reset so issue the CDCM_OPEN and CDCL_CLOSE commands first.

After the reset you can optionally issue the CDCL_CLEAR command, which causes the next CDCL open command to read and delete every TSN record and every MNT record for a full and complete reset. 

Then issue the CDCL_OPEN command to open the CDC Listener for processing.

This is the sequence of commands to clear or reset CDC for new work:
  1. CDCM_OPEN
  2. CDCL_CLOSE
  3. CDC RESET
  4. CDCL_CLEAR
  5. CDCL_OPEN

Additional Information

See the documentation on Change Data Capture and MUF Startup Options