The DELETE CONTEXT command deletes a context. Because a context is a nonversioned element, CDO does not accept a branch designation or a version number in the context name. If a context is a child, you must delete its immediate parent before you delete the context. If the context's immediate parent is a child of another element, you must trace the relationships back until you reach the element that has no parents. If you delete your current context, CDO sets a null value for the current context before deleting the context. An error occurs if you attempt to delete a context that has opened files or reserved elements. The SHOW CONTEXT or SHOW RESERVATIONS command indicates whether this condition exists.