DELFILE (Delete SFS File Profile)

System environment

Start of changeSFS files apply to z/VM® systems only. End of change

Purpose

Use the DELFILE command to delete either a discrete or generic file profile from the RACF® database. (Note that the file itself is not physically deleted or scratched.)

Related Commands

Authorization Required

To delete a discrete or generic file profile, you must have sufficient authority over the file. RACF performs authorization checking in the following sequence until you meet one of these conditions:

  • You have the SPECIAL attribute.
  • The file profile is within the scope of a group in which you have the group-SPECIAL attribute.
  • The user ID qualifier of the profile name is your user ID.
  • You are the owner of the profile.

For discrete profiles only:

  • The file is protected by a discrete profile and you are on the access list with ALTER authority.
  • The file is protected by a discrete profile and your group or one of your groups (if list of groups checking is active) is on the access list and has ALTER authority.
  • The file is protected by a discrete profile and the universal access authority is ALTER.

Syntax

The complete syntax of the DELFILE command is:

Parameters

profile-name
specifies the name of the discrete or generic profile to be deleted from the RACF database. You may specify only one profile-name. For the format of these profile names, see Profile Names for SFS Files and Directories.

This value is required.

Examples