MQ JMSAdmin Tool

 


Overview

JMSAdmin can be run interactively, or it can be used in batch mode.

To start the tool in interactive mode:

JMSAdmin [-t] [-v] [-cfg scriptfile]

where:

-t Enables trace (default is trace off)
-v Produces verbose output (default is terse output)
-cfg scriptfile Names an alternative configuration file (see Configuration)

A command prompt is displayed....

InitCtx>

...indicating that the current context to which all naming and directory operations currently refer is the initial context defined in the PROVIDER_URL.

As you traverse the directory namespace, the prompt changes to reflect this, so that the prompt always displays the current context.

To start the tool in batch mode, enter the command:

JMSAdmin <test.scp

where test.scp is a script file that contains administration commands (see Administration commands). The last command in the file must be the END command.