DELETE - OMS Administration Utility Command

Description

The DELETE command deletes OMS queues in the OMS Server.

Data loss

When a queue is deleted, all messages in a queue are also deleted.

Command Line Syntax

The following figure illustrates the command line syntax of the DELETE command, using the command line, long form of its command options.

-delete queue -queuename qname
    [-codepage codepage]
    [-file cmfile]
    [-encryptedfile ecmfile [-key ecmdkey]]
    [-level msglevel]
    [-nls_directory directory]
    [-port port]

Command Options

The following table describes all DELETE command options and provides the command line, long form of each option illustrated in the DELETE command line syntax, above.

Command
Option Name

Command Line
Long Form

Description

QUEUE_NAME

-queuename

OMS queue name to select for listing or deleting.

CODE_PAGE

-codepage

Local code page used to translate text data from and to the OMS Server.

FILE

-file

Command file that contains OMS Administration Utility (omsadm) command line options.

ENCRYPTED_FILE

-encryptedfile

Command file encrypted by the Universal Encrypt (uencrypt) utility.

KEY

-key

Encryption key used to encrypt the encrypted command file.

MESSAGE_LEVEL

-level

Severity level of messages to be written.

NLS_DIRECTORY

-nls_directory

Directory in which to find the Universal Translation Table (UTT) file specified by the CODE_PAGE command option.

PORT

-port

TCP port on which the local OMS Server is listening for connections.