ALTER CATEGORY

Use the ALTER CATEGORY command to change the name of the category.

Synopsis

Syntax for altering a category:
ALTER CATEGORY <category-name> RENAME TO <new-name>

Inputs

The ALTER CATEGORY command has the following inputs:
Table 1. ALTER CATEGORY inputs
Input Description
<category-name> The identifier of an existing category.
<new-name> An identifier to be the new name of the category. The name must be unique among category names. Due to the total size limitation of the system security label field, use short names. For compatibility with other vendors, do not use delimited identifiers, only ASCII characters, and limit name length to 30 characters.

Outputs

The ALTER CATEGORY command has the following output:
Table 2. ALTER CATEGORY output
Output Description
ALTER CATEGORY The message that the system returns if the command is successful.
ERROR: permission denied. You must have Manage Security privilege to create a security category.
ERROR: object <category-name> not found. The specified category was not found.
ERROR: object <new-name> already exists. The new category name must be different from all other category names.

Description

The ALTER CATEGORY command changes the name of the category.
Privileges required
You must have Manage Security privilege to create security categories.
Common tasks
Use the ALTER CATEGORY command to change the name of the category.

Usage

The following provides sample usage:
ALTER CATEGORY ARGON RENAME TO BORON;