set

This command sets an attribute on an MBean.

Syntax

zosadmin set     --mbean= --attr= --value= --type=

Options

-m, --mbean=

Specify the name of the MBean to view.

-a, --attri=

Specify the attribute name of the MBean to view.

-o=, --value=

Specify the attribute value of the MBean to set in string form.

-t=, --type=

Specify the attribute value type to convert string form into (String/Boolean/Integer).

-v, --verbose

Turn on verbose output during this operation.

-V, --debug

Turn on debug output during this operation.

-h, --help

Display a help message for this operation.

Examples

Example 1

To change the nodeManager autoregistration setting to false, use the following command:

zosadmin set --mbean=local:facility=nodeManager --attr=Autoregister --value=false --type=Boolean