Deactivating data sharing members

The first step in deleting a member from a data sharing group is to deactivate the member. Deactivating a member ensures that no new log data is created for that member.

About this task

The member that is to be deleted must be quiesced before the surviving members are stopped. This requirement ensures that the BSDSs of the surviving members record the quiesced state of the member that is to be deleted.

A deactivated member can be reactivated at any time with the DSNJU003 RSTMBR control statement.

Procedure

To deactivate a data sharing member:

  1. Ensure that the member that is to be deactivated does not have outstanding units of work or active utilities.
    1. Start the member with the ACCESS(MAINT) option.
    2. Check messages DSNR004I through DSNR008I to identify any active units of recovery (URs).
    3. Resolve any active URs.
    4. Issue the DISPLAY UTILITY(*) command to verify that the member has no active utilities.
    5. Issue the TERM UTILITY command to terminate any active utilities. Alternatively, active utilities can be restarted and allowed to complete normally.
    6. Issue the STOP DB2 MODE(QUIESCE) command to stop the subsystem.
  2. Issue the DISPLAY GROUP command to verify that the member that is to be deactivated in the quiesced state.
  3. Ensure that the BSDSs of all surviving members of the group indicate that the member that is to be deactivated is in the quiesced state.
  4. Stop all members of the group.
  5. Make a backup copy of all the BSDSs in the group.
  6. Use the DSNJU003 DELMBR DEACTIV,MEMBERID=xcontrol statement against all BSDSs of all members of the group, where x is the member ID of the member that is to be deactivated.
    The DSNJU003 change log inventory utility deactivates the member.
  7. Restart the surviving members. All surviving members should be restarted so that they can record the updated status of the deactivated member.

What to do next

The next step in deleting a data sharing member is to destroy it. See Destroying data sharing members.