Invoke an administrative command in interactive mode

 

+

Search Tips   |   Advanced Search

 

Overview

Perform the following steps to invoke an administrative command in interactive mode. To invoke an administrative command in batch mode, see Invoking an administrative command in batch mode.

Invoke the AdminTask object commands interactively, in a script, or use the wsadmin -c command from an operating system command prompt.

Use the following command invocation to enter interactive mode without providing another input in the command invocation:

Jacl

$AdminTask commandName {-interactive}

Jython

AdminTask.commandName([-interactive])

Use the following command invocation to enter interactive mode using an administrative command that takes a target object. You do not have to provide a target object to enter interactive mode. Target objects provided in the command invocation will be applied to the command and displayed as the current target object value during interactive prompting.

Jacl

$AdminTask commandName targetObject {-interactive}

Jython

AdminTask.commandName(targetObject, [-interactive])

Use the following command invocation to enter interactive mode for an administrative command that takes options. You do not have to provide other options to enter interactive mode. Options provided in the command invocation are applied to the command and the option values will be displayed as the current values during interactive prompting.

Jacl

$AdminTask commandName {-interactive commandOptions}

Jython

AdminTask.commandName([-interactive commandOptions])

Use the following command invocation to enter interactive mode for an administrative command that has a target object and options. You do not have to specify a target object to enter interactive mode. The values specified are applied to the command before the command data is displayed. As a result, the values specified will be displayed as the current values during interactive prompting.

Jacl

$AdminTask commandName targetObject {-interactive commandOptions}

Jython

AdminTask.commandName(targetObject, [-interactive commandOptions])

 

Example

 

See also


Administrative command interactive mode environment

 



 

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.