When a data set is copied or moved, the protection state of the
target depends on the initial protection states of the source and
the target data sets, whether MENTITY was specified, and whether discrete
profiles are predefined. The following conditions may exist:
- The source data set is unprotected.
- The target data set may or may not be protected after the copy.
A discrete profile is not defined by DFSMSdss, even if you specify MENTITY.
- The source data set is protected but not RACF-indicated.
- The target data set may or may not be protected after the copy:
- If the target data set is not already protected and MENTITY is
not specified, the data set remains unprotected. If you do specify
MENTITY, DFSMSdss defines a discrete profile:
- If the define is successful, the target data set is RACF-indicated.
It is accessible according to the access list for the model profile
that was used.
- If the define is unsuccessful, the target data set remains RACF-indicated.
It may be inaccessible until a data set profile is successfully defined.
- If the target data set is already protected because it is RACF-indicated
or RACF-protected, DFSMSdss does not define a discrete profile (even
if you specify MENTITY). The target data set is accessible according
to the access list of a predefined, protecting, data set profile.
- The source data set is RACF-indicated.
- The target data set is RACF-indicated after the copy:
- If the target data set is not RACF-indicated and if either there
is a discrete profile for the source or MENTITY is specified, DFSMSdss
defines a discrete profile:
- If the define is successful, the data set is RACF-indicated. It
is accessible according to the access list for the model profile that
was used.
- If the define is unsuccessful and MENTITY was specified or DELETE
was not specified, the data set is RACF-indicated. It may be inaccessible
until a data set profile is successfully defined.
- If the define is unsuccessful and DELETE was specified (without
MENTITY), the copy or move is unsuccessful. The target data set is
deleted, and the source data set is kept.
- If the target data set is already RACF-indicated, a discrete profile
is not defined by DFSMSdss (even if you specify MENTITY or DELETE).
The target data set remains RACF-indicated.