Remove RDB Directory Entry (RMVRDBDIRE)

The Remove Relational Database Directory Entry (RMVRDBDIRE) command removes a specific entry, generic entries, all entries, or all remote entries from the relational database (RDB) directory.

Restrictions:

*SECADM, *ALLOBJ, and *IOSYSCFG special authorities are needed to use this command to remove the *LOCAL RDB entry.

Parameters

Keyword Description Choices Notes
RDB Entry Generic name, name, *ALL, *ALLRMT Required, Positional 1

Entry (RDB)

Specifies the relational database directory entry. If an entry has no alias, the relational database name is used as the entry name. If an entry has an alias, the alias is used as the entry name.

This is a required parameter.

*ALLRMT
All entries except the *LOCAL entry in the RDB directory are removed.
*ALL
All entries in the RDB directory are removed.
generic-name
Specify the generic name of the RDB entries to be removed. A generic name is a character string that contains one or more characters followed by an asterisk (*).
name
Specify the name of the RDB entry to be removed.

Examples

RMVRDBDIRE   RDB(YOURRDB)

This command removes the entry YOURRDB from the relational database directory. The entry is no longer accessible.

Error messages

*ESCAPE Messages

CPF3EC2
Remove relational database directory entry failed.