Removing library groups
You can remove a library group by using the LibraryGroupDelete tool.
About this task
In an interactive mode, the tool prompts you for all required options. You can also run the tool in a silent mode by specifying the options and values. You can use either the single character or the full name of the option.
To display a list of available options, enter java com.ibm.content.cm.tools.LibraryGroupDelete -? or java com.ibm.content.cm.tools.LibraryGroupDelete -help.
Procedure
To run the LibraryGroupDelete tool:
Run the Java command with the following format: java
com.ibm.content.cm.tools.LibraryGroupDelete -options values.
Use the following command options for the LibraryGroupDelete
tool:
- r or repository
- The Content Manager EE database name or the alias name.
- u or user
- The Content Manager EE user ID that you use to log in.
- p or password
- The Content Manager EE password that you use to log in.
- o or options
- The Content Manager EE connection options that you can use to connect to Content Manager EE. For more information about connection options, see the DKDatastoreICM::connect() method or the SConnectDisconnectICM.java sample.
- l or label
- The label or the short name of the library group that you delete.
- z or throwExc
- The exception message. The value can be either true or false. The default value is false.
Example
The following code sample shows how to run the tool in
an interactive mode:
| Operating system | Code sample |
|---|---|
| Linux or UNIX systems | ./configure-repository.sh LibraryGroupDelete |
| Windows | configure-repository.bat LibraryGroupDelete |
The following code sample shows how to run the tool in a silent mode. You must enter the command
in one
line.
java com.ibm.content.cm.tools.LibraryGroupDelete -r icmnlsdb -u icmadmin -p password
-o SCHEMA=ICMADMIN -l myLibGrp -z true