Manipulating subcontexts

You can use the verbs CHANGE , DEFINE , DISPLAY and DELETE to manipulate directory namespace subcontexts. Their use is described in the following table

Table 1. Syntax and description of commands used to manipulate subcontexts
Command syntax Description
DEFINE CTX(ctxName) Attempts to create a new child subcontext of the current context, having the name ctxName. Fails if there is a security violation, if the subcontext already exists, or if the name supplied is invalid.
DISPLAY CTX Displays the contents of the current context. Administered objects are annotated with a 'a', subcontexts with '[D]'. The Java™ type of each object is also displayed.
DELETE CTX(ctxName) Attempts to delete the current context's child context having the name ctxName. Fails if the context is not found, is non-empty, or if there is a security violation.
CHANGE CTX(ctxName) Alters the current context, so that it now refers to the child context having the name ctxName. One of two special values of ctxName may be supplied:
=UP
which moves to the current context's parent
=INIT
which moves directly to the initial context
Fails if the specified context does not exist, or if there is a security violation.

Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.