Remove Queue Manager Journal (RMVMQMJRN)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Remove Queue Manager Journal command (RMVMQMJRN) removes a queue manager journal. This command can be used, for example, to remove a remote journal previously used for a standby or multi-instance queue manager.


Parameters

Keyword Description Choices Notes
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 1
JRN Queue Manager Journal Character value, *DFT Optional, Positional 2
RMTJRNRDB Remote Relational Database Character value Optional, Positional 3


Message Queue Manager name (MQMNAME)

>

Specifies the name of the message queue manager associated with the journal.

    queue-manager-name
    Specify the name of the queue manager. The name can contain up to 48 characters. The maximum number of characters is reduced if the system is using a double byte character set (DBCS).


Queue Manager Journal (JRN)

>

Specifies the journal name to create.

The possible values are:

    *DFT
    The journal name is chosen by the system. If a local journal already exists for the queue manager on this system - the existing local journal name is used, otherwise a unique name is generated of the format AMQxJRN where x is a character in the range 'A - Z'.

    journal-name
    Specify the name of the journal. The name can contain up to 10 characters. Journal receiver names will be derived from this journal name by truncating at the 4th character (or at the last character if the journal name is shorter than 4 characters) and appending zeroes. If the local queue manager library already contains a local journal, its name must match that supplied. Only one local journal can exist in a queue manager library. DLTMQM will not remove journal artifacts from a queue manager library unless they are prefixed with "AMQ".


Remote Relational Database (RMTJRNRDB)

>

Specifies the name of the relational database directory entry that contains the remote location name of the target system. Use the WRKRDBDIRE command to locate and existing entry or configure a new relational database directory entry for the target system.

    relational-database-directory-entry
    Specify the name of the relational database directory entry. The name can contain up to 18 characters.


Examples

>

None


Error messages

>

Unknown

Parent topic: CL commands reference for IBM i