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:
- Ensure that the member that is to be deactivated does not
have outstanding units of work or active utilities.
- Start the member with the ACCESS(MAINT) option.
- Check messages DSNR004I through DSNR008I to identify
any active units of recovery (URs).
- Resolve any active URs.
- Issue the DISPLAY UTILITY(*) command to verify that
the member has no active utilities.
- Issue the TERM UTILITY command to terminate any active
utilities. Alternatively, active utilities can be restarted and allowed
to complete normally.
- Issue the STOP DB2 MODE(QUIESCE)
command to stop the subsystem.
- Issue the DISPLAY GROUP command to verify that the member
that is to be deactivated in the quiesced state.
- 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.
- Stop all members of the group.
- Make a backup copy of all the BSDSs in the group.
-
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.
- 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.