JMS Administration commands

When the command prompt is displayed, the tool is ready to accept commands. Administration commands are generally of the following form:

verb [param ]*

where verb is one of the administration verbs listed in Administration verbs. All valid commands consist of at least one (and only one) verb, which appears at the beginning of the command in either its standard or short form.

The parameters a verb may take depend on the verb. For example, the END verb cannot take any parameters, but the DEFINE verb may take anything between 1 and 20 parameters. Details of the verbs that take at least one parameter are discussed later in this section.

Table 1. Administration verbs
VerbShort formDescription
ALTERALTChange at least one of the properties of a given administered object
DEFINEDEFCreate and store an administered object, or create a new subcontext
DISPLAYDISDisplay the properties of one or more stored administered objects, or the contents of the current context
DELETEDELRemove one or more administered objects from the namespace, or remove an empty subcontext
CHANGECHGAlter the current context, allowing the user to traverse the directory namespace anywhere below the initial context (pending security clearance)
COPYCPMake a copy of a stored administered object, storing it under an alternative name
MOVEMVAlter the name under which an administered object is stored
END Close the administration tool

Verb names are not case-sensitive.

Usually, to terminate commands, you press the carriage return key. However, you can override this by typing the "+" symbol directly before the carriage return. This enables you to enter multi-line commands, as shown in the following example:

DEFINE Q(BookingsInputQueue)+
QMGR(ExampleQM)+
QUEUE(QUEUE.BOOKINGS)

Lines beginning with one of the characters *, #, or / are treated as comments.

Parent topic: The MQe administration tool for JMS