Use this directive to delete a Naming Context entity. Syntax: DELETE DSA NAMING CONTEXT <name>
1 – Errors
The DELETE directive can return one of the following errors: REASON: Has Subordinates DESCRIPTION: The DSA has entries or entities subordinate to the entity being deleted. You cannot remove a Naming Context entity if it contains directory entries or further entities, such as Subordinate Reference entities. You must delete everything beneath the Naming Context entity first. REASON: Not Empty DESCRIPTION: You cannot delete a Naming Context that contains entries. The Naming Context entity coexists with a directory entry. You cannot delete the entity until you have deleted the directory entry. REASON: Contains Alias DESCRIPTION: The alias entry with the same name must be deleted before the Naming Context can be deleted. The Naming Context entity coexists with an alias entry. You cannot delete the entity until you have deleted the alias entry using DXIM, or another directory application. REASON: Alias Entry DESCRIPTION: Alias entry prevents deletion. The identifier you specified for the Naming Context entity is an alias name, not a distinguished name. The DSA does not support the use of alias names when deleting entities. Specify the distinguished name of the entry that is at the top of the naming context. The response indicates the name of the alias entry. REASON: Wrong State DESCRIPTION: The DSA entity is not in the correct state. The DSA entity must be in state ON or OFF when you delete a Naming Context entity. If the DSA is in any other state, such as ENABLING or UPDATING, the command fails. The response indicates the current state of the DSA.