>>-+-------+---------------------------------------------------><
+-SHAre-+
'-SHR---'
SHARE specifies that DFSMSdss is to share the data sets to be dumped
for read access with other programs. Do not specify the DELETE, RESET,
or UNCATALOG keyword if you specify SHARE. Use SHARE carefully to
ensure that the contents of the dumped copy of the data set are valid.
Restriction: You cannot use the SHARE and
FULL keywords at the same time.
Note: - Unlike the RESTORE command, the DUMP command honors the SHARE
keyword for VSAM data sets. However, the SHARE keyword is only honored
for VSAM data sets that were defined with share options other than
(1,3) or (1,4).
Specifying the SHARE keyword does not cause DFSMSdss
to honor the share options that are defined for VSAM data sets. For
VSAM data sets that are defined with share options other than (1,3)
or (1,4), specifying the SHARE keyword allows other programs to obtain
read access, but not write access, to the data sets while they are
being dumped. For VSAM data sets that are defined with share options
(1,3) or (1,4), neither read access nor write access by other programs
is allowed while the data set is being dumped, regardless of whether
SHARE was specified.
- Do not use the SHARE keyword during a physical dump of HFS or
zFS data sets.
- The SHARE keyword is required to logically dump mounted HFS data
sets in DFSMSdss releases prior to DFSMSdss Release 1.5. The SHARE
keyword is no longer required to logically dump mounted HFS data sets
beginning in DFSMSdss Release 1.5.
- For an HFS data set, DFSMSdss obtains both an ADRDSN enqueue and
a SYSZDSN enqueue. SHARE determines only whether the ADRDSN enqueue
is shared or exclusive.
- For a zFS data set, DFSMSdss obtains an ADRDSN enqueue, a SYSDSN
enqueue, and a number of SYSVSAM enqueues. SHARE determines only whether
the ADRDSN enqueue is shared or exclusive. When specifying DELETE,
DFSMSdss attempts to obtain exclusive SYSDSN and SYSVSAM enqueues.
If you do not specify DELETE, DFSMSdss attempts to obtain shared SYSDSN
and SYSVSAM enqueues.
For more information about dumping HFS or zFS data sets, see Backing up data sets with special requirements.
For more information about dumping HFS data sets, see Dumping HFS data sets.
For more information about dumping zFS data sets, see zFS data sets.