In the SAS 9.4 release,
the copy-in-place operation is used to re-encrypt data sets.
Prior to the second
maintenance release of SAS 9.4, metadata-bound data sets in different
representations other than the host environment executing the AUTHLIB
code fails in CREATE, MODIFY, REPAIR, and REMOVE actions. In the second
maintenance release of SAS 9.4, the copy-in-place operation is used
to bind or alter bindings of most metadata-bound data files and view
files that are accessed through CEDA (Cross-Environment Data Access).
However, metadata-bound data sets accessed through CEDA that contain
indexes, extended attributes, and integrity constraints are detected
and the copy-in-place operation is not attempted as it would still
fail.
The following steps
are performed in the copy-in-place operation:
-
The data set is renamed to _TEMP_ENCRYPT_FILE_NAME_.
-
The data set is copied back to the original data set
name, which re-encrypts the data in the process.
-
The _TEMP_ENCRYPT_FILE_NAME_ file is deleted.
See the following SAS
log examples of the copy-in-place operation: