Creating recovery points

You use the IMS single point of control (SPOC) OM API to enter the UPDATE DB command with the START(QUIESCE) keyword to establish a recovery point. You can also enter an UPDATE DB START(QUIESCE) OPTION(HOLD) command to have a recovery point established, and keep the database quiesced.

The UPDATE START(QUIESCE) command stops all updates in progress and saves them to a direct access storage device (DASD). When this command is issued, all open ALLOC records on any sharing systems are closed. When the command completes, you have a recovery point, and applications can continue to make updates to the database.

To create recovery points for high-activity databases:

Procedure

  1. Enter one of the following commands from IMS SPOC:
    Option Description
    UPDATE AREA NAME(area_name) START(QUIESCE) To quiesce a Fast Path area and establish a new recovery point.
    UPDATE DB NAME(db_name) START(QUIESCE) To quiesce a full-function database and establish a new recovery point.
    UPDATE DB NAME(HALDBmaster_name) START(QUIESCE) To quiesce a full-function HALDB.
    Note: When the quiesce function is invoked on a full-function HALDB, it affects all of the partitions of the HALDB. The command does not set on the quiesce in progress flag on in the RECON data sets for the HALDB master. Instead it sets the quiesce in progress flag on in each HALDB partition.
    UPDATE DB NAME(DEDB_name) START(QUIESCE) To quiesce a Fast Path DEDB and establish a new recovery point.
    UPDATE DATAGRP NAME(dbgrp_name) START(QUIESCE) To quiesce a database group and establish a new recovery point.
    IMS SPOC returns the following output:
    DBName   MbrName    CC
    DBXYZ    IM02        0
    DBXYZ    IM01        0
    DBXYZ    IM03        0
    
  2. Verify that the command has processed successfully. Enter the following command from IMS SPOC: QRY DB NAME(DBXYZ) SHOW(STATUS)

    IMS SPOC returns the following output:

    DBName    MbrName    CC TYPE     LclStat                                
    DBXYZ     IM03        0 DLI      ALLOCS,OPEN
    DBXYZ     IM01        0 DLI      ALLOCS,OPEN
    DBXYZ     IM02        0 DLI      ALLOCS,OPEN
    
  3. Create a concurrent image copy of the database. Verify that the image copy completes successfully.