To suspend change data capture by the z/OS ECCRs, use the SUSPEND_REGISTRATION command. The command suspends the capture registrations for the sources.
You can suspend change capture for the following z/OS ECCRs:
Adabas ECCR
Datacom table-based ECCR
IDMS log-based ECCR
IMS log-based ECCR
Suspending capture registrations temporarily stops change capture activity for registered sources during a suspension window. You can reactivate the suspended capture registrations later to resume change data capture. Temporarily suspending change data capture has many uses, for example:
Skip all change records in the change stream that have timestamps earlier than the current system time when starting change capture for a registration that has been activated for the first time from the PowerExchange Navigator.
You can suspend change capture while you make DDL changes, such as cascade delete or delete all row changes or while you make corrections to a source or target object.
When you use the PWXUCREG utility to change the registration status, it sets suspension and activation timestamps. The period bounded by the suspension and activation timestamps is called the
suspension window
.
You must refresh the ECCR after a registration status change to have it detect the status change and get the suspension and activation timestamps. During the suspension window, the ECCR discards change records that have a timestamp later than the suspension timestamp. The utility writes message output for registration status changes for audit and monitoring purposes.
The PowerExchange Navigator displays the current registration status in the
Status
field of the Resource Inspector. After the utility processes a PWXUCREG registration suspension request, the Resource Inspector displays the suspension timestamp in the current system time in the
Suspend Time
field and displays the value Suspended in the
Status
field.
Reactivation of a suspended registration can be performed by using the ACTIVATE_REGISTRATION or CANCEL_SUSPEND_REGISTRATION commands. After the utility processes a PWXUCREG registration reactivation request, the Resource Inspector displays the activation timestamp in the