Command Reference > pmrep Command Reference > Delete
  

Delete

Deletes the repository tables from the repository database.
Before you use the Delete command, you must connect to the repository and provide a user name and password or password environment variable.
When you use the Delete command, the Repository Service must be running in exclusive mode. You can configure the Repository Service to run in exclusive mode in the Administrator tool or you can use the infacmd UpdateRepositoryService command.
The Delete command uses the following syntax:
delete

[-x <repository_password_for_confirmation> |

 -X <repository_password_environment_variable_for_confirmation>]

[-f (forceful delete: unregisters local repositories and deletes)]
The following table describes pmrep Delete options and arguments:
Option
Argument
Description
-x
repository_password_for_
confirmation
Optional. Password. You can use the -x or -X option, but not both. If you do not use the -x or -X option, pmrep prompts you to enter the password for confirmation.
-X
repository_password_
environment_variable_for_
confirmation
Optional. Password environment variable. You can use the -x or -X option, but not both. If you do not use the -x or -X option, pmrep prompts you to enter the password for confirmation.
-f
-
Optional. Deletes a global repository and unregisters local repositories. All registered local repositories must be running.