PreviousNext

directory remove

Deletes a child pointer from the directories specified. The syntax is:

directory remove directory_name_list -member child_pointer_list

Options

-member child_pointer_list
This required option names the child pointers to be removed from each directory in the operation argument.

Description
The directory remove operation deletes a child pointer from the directories specified. The directory_name_list argument is a list of names of one or more directories to be operated on. The required -member option allows you to list the child pointers to be removed from each directory in the directory_name_list argument. Returns an empty string on success.

The child_pointer_list argument value of the required -member option is a list of one or more child pointers (specified as only one RDN each) to be removed from each directory in the argument. Returns an empty string on success.

This command is only needed to delete a child pointer that accidentally remains after the child directory is deleted. Normally child pointers are removed internally by CDS when deleting directories with the directory delete command.

Privileges Required
You must have d (delete) permission to the child pointer or A (Admin) permission to the parent directory.

Examples
The following command deletes the child pointer that accidentally remains after the /.:/sales/east directory is deleted:

dcecp> directory remove /.:/sales -member east
dcecp>