JCL for JMX

The Job Control Language (JCL) provides various script elements for JMX and the corresponding supported data types.

The following data types are supported when values are assigned with script elements:

  • java.lang.String

  • java.lang.Integer

  • java.lang.Byte

  • java.lang.Float

  • java.lang.Double

  • java.lang.Short

  • java.lang.Long

  • java.lang.BigInteger

  • java.lang.Boolean

  • java.lang.BigDecimal

  • java.lang.Character

  • javax.management.openmbean.CompositeData

Use arrays or the following two complex data types for the return codes of the script elements:

  • javax.management.openmbean.CompositeData

  • javax.management.openmbean.TabularData

The results of the script elements are written to the report. Use PREP_PROCESS_REPORT to read the results.

Script Elements for JMX

JCL includes the following script elements for JMX:

  • JMX_COMPOSITE_ADD

    Stores several values in one parameter name.

  • JMX_CREATE_MBEAN

    Creates an instance of the indicated class and registers it in the MBean Server with the object name.

  • JMX_GET_AGENT

    Retrieves the agent ID either of the existing MBean server, or of running MBean servers.

  • JMX_GET_ATTRIBUTE

    Retrieves the value(s) of one or all the attribute(s) of an MBean.

  • JMX_GET_ATTRIBUTES

    Retrieves the values of all the attributes of an MBean.

  • JMX_GET_INFO

    Retrieves information about an MBean, which can include the description of the MBean and a list of its attributes, operations and notifications.

  • JMX_INVOKE

    Calls a method of an MBean and assign parameters to it. If the MBean has more than one function, you can address a particular one.

  • JMX_QUERY_NAMES

    Lists registered MBeans.

  • JMX_SET_ATTRIBUTE

    Sets an attribute of an MBean.

  • JMX_UNREGISTER_MBEAN

    Removes an already registered MBean.

  • JMX_WAIT_FOR_NOTIFICATION

    Waits to be notified by the MBean.

See also: