CA Datacom CDC Reset CDCL_RESET DB01301E - CONSOLE BAD COMMAND

book

Article ID: 193273

calendar_today

Updated On:

Products

CA Datacom CA Datacom - AD CA Datacom/DB CA Datacom/AD CA Datacom/Server

Issue/Introduction

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

Environment

Release : 15.1

Component : CA DATACOM/DB

Resolution

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

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, it causes the next CDCL open command to
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 *

DB01335I - CONSOLE SCHEDULED - CDCL_CLOSE *
DB00608I - CONSOLE COMPLETE - CDCL_CLOSE *

3. CDC RESET 

DB01335I - CONSOLE SCHEDULED - CDC RESET
DB03106I - CDC RESET START, CDCL SHOULD BE CLOSED, CDCM OPEN, WAIT DB03138
DB00608I - CONSOLE COMPLETE - CDC RESET
DB03138I - CDC RESET DONE, CDCL CLEAR (OPTIONAL), THEN CDCL OPEN

4. CDCL_CLEAR *

DB01325I - CONSOLE COMPLETE, CDCL_CLEAR *

5. CDCL_OPEN *
 

Additional Information

See the documentation on Change Data Capture and MUF Startup options