Quiescing and resuming Replication Agent for DB2 UDB

Use the QUIESCE and RESUME operator commands to temporarily suspend Replication Agent for DB2 UDB when you do not want to perform a complete shutdown and restart.

For example, if you are using the REORG command on a table space that Replication Agent for DB2 UDB is monitoring, and the job ends abnormally because databases or tables are locked by Replication Agent for DB2 UDB, you can use QUIESCE to suspend Replication Agent for DB2 UDB work, and RESUME to start it again.

NoteOccasionally processes that make large modifications to a monitored table space, such as REORG, may still require you to shut down and restart Replication Agent for DB2 UDB.

Syntax

F REPJOB,E,QUIESCE F REPJOB,E,RESUME

Usage

This is how the QUIESCE and RESUME operator commands work:

  1. Issue the QUIESCE command.

  2. Replication Agent stops reading log records, begins to sleep, and repeatedly checks for the RESUME command.

  3. Run your job while Replication Agent for DB2 UDB is sleeping. The job completes.

  4. Issue the RESUME command.

  5. Replication Agent for DB2 UDB resumes processing the log records it has in its buffers, then attempts to begin reading where it left off before the QUIESCE command, if possible.