8.153 SF- (Delete a shadow file)
8.153.1 Function
The SF- command removes a shadow file. Depending on the MERGE / NOMERGE / FORCE parameter
the changes are incorporated in the base file or discarded.
If MERGE is specified or defaulted then the contents of the current file is merged into the previous file, the
current file is removed and the previous file becomes the current file.
If NOMERGE is specified then the contents of the current file is discarded and the previous file becomes
the current file. However if the previous file is read-only then a new shadow file is created ("re-added")
and that becomes the current file.
The FORCE option is required when doing a merge to a base file and the base file is read-only because
the 'ro' option was specified on the device configuration statement.
8.153.2 Syntax
Descriptive
-
Diagram
- ¬¬¬§¬¬¬ ¬¬¬§¬¬¬¦¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¦¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
8.153.3 Parameter
device
This specifies the device for which a shadow file should be deleted.
*
Specifying an asterisk it is possible to remove a shadow file for all dasd devices
that have shadow files.
MERGE
The MERGE parameter (which is the default) specifies that all changes or updates
that have been made to the shadow file will be committed.
NOMERGE
The NOMERGE parameter specifies that all changes or updates that have been
made to the shadow file will be discarded instead of being committed.
FORCE
The FORCE parameter is used when doing a merge to a base file that is read-only
because the 'ro' option was specified on the device configuration statement.