The administration tool has a command line interface. You can use this interactively, or use it to start a batch process. The interactive mode provides a command prompt where you can enter administration commands. In the batch mode, the command to start the tool includes the name of a file which contains an administration command script.
To start the tool in interactive mode, enter the command:
JMSAdmin [-t] [-v] [-cfg config_filename]
where:
A command prompt is displayed, which indicates that the tool is ready to accept administration commands. This prompt initially appears as:
InitCtx>
indicating that the current context (that is, the JNDI context to which all naming and directory operations currently refer) is the initial context defined in the PROVIDER_URL configuration parameter (see Configuration).
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.