Use administration commands
The administration tool accepts commands consisting of an administration verb and its appropriate parameters.
The following table lists the administration verbs that we can use when entering commands with the administration tool.
Verb | Short form | Description |
---|---|---|
ALTER | ALT | Change at least one of the properties of an administered object |
DEFINE | DEF | Create and store an administered object, or create a subcontext |
DISPLAY | DIS | Display the properties of one or more stored administered objects, or the contents of the current context |
DELETE | DEL | Remove one or more administered objects from the namespace, or remove an empty subcontext |
CHANGE | CHG | Alter the current context, allowing the user to traverse the directory namespace anywhere below the initial context (pending security clearance) |
COPY | CP | Make a copy of a stored administered object, storing it under an alternative name |
MOVE | MV | Alter the name under which an administered object is stored |
END | Close the administration tool |
Procedure
-
If the administration tool is not already started, start it as described in Starting the administration tool.
The command prompt is displayed, indicating that the tool is ready to accept administration commands. This prompt initially appears as:
InitCtx>
To change the current context, use the CHANGE verb as described in Configure subcontexts. -
Enter commands in the following form:
verb [param]*
where verb is one of the administration verbs listed in Table 1. All valid commands contain one verb, which appears at the beginning of the command in either its standard or short form. Verb names are not case-sensitive. -
To terminate a command, press Enter, unless you want to enter several commands together, in which case type the plus sign (+) directly before pressing Enter.
Typically, to terminate commands, you press Enter. However, we can override this by typing the plus sign (+) directly before pressing Enter. This enables you to enter multiline commands, as shown in the following example:
DEFINE Q(BookingsInputQueue) + QMGR(QM.POLARIS.TEST) + QUEUE(BOOKINGS.INPUT.QUEUE) + PORT(1415) + CCSID(437)
- To close the administration tool, use the END verb. This verb cannot take any parameters.