DB2 Group
Syntax

DB2 Group

DB2 group move <source NSF> [Destination group] [-xml]

DB2 group renameclass <Old Class Name> <New Class Name>. [-xml]

DB2 group setclass <Group Name> <Class Name> [-xml]

DB2 group setstate <Group Name> <LOCK/OPEN> [-xml]

DB2 group info

For information about DB2 group info, see the topic DB2 group info.

Description

The DB2 Group command runs the DB2 Group tool and performs the action associated with the argument.

Arguments

Move -- The database will be copied to the specified group. Supply the selected DB2 enabled IBM® Lotus® Notes® database name and destination group. To copy a database to a new IBM® DB2 Universal Database™ Enterprise Server Edition group, enter the DB2 enabled Notes database name only, without a destination group name. The status will be returned as to the status of the posting of the move.

Renameclass -- Renames the class name to the desired text. All groups associated with an old class name are associated with the new class name. The maximum class name size is 32 bytes.

Setclass -- Sets the class name to the desired text. The maximum class name size is 32 bytes.

Setstate -- Locks or unlocks a DB2 group that is not yet associated with its maximum number of DB2-enabled Notes databases. Groups that are associated with the maximum number of DB2-enabled Notes databases, are locked automatically and cannot be unlocked.

Examples

DB2 group move test.nsf Grp00002

Test.nsf was successfully moved to GRP00002

DB2 GROUP RENAMECLASS

The class was renamed to by User/Westford

DB2 GROUP SETCLASS GRP00002 Mail Files

The class for GRP00002 was set to 'Mail Files' by User/Westford

DB2 GROUP SETSTATE GRP00002 LOCK

GRP00002 is locked

See also