Previous Topic: OBJNAME Statement—Identify Name of SAP Archiving ObjectNext Topic: OPERATIONTYPE Statement—Specify the Operation Type


OPERATION Statement—Specify the Operation to be Invoked

The OPERATION statement specifies the MBean operation to be invoked in a JMX-MBean Operation job or the web service operation to be invoked in a Web Service job.

Supported Job Types

This statement is required for the following job types:

Syntax

This statement has the following format:

operation

Specifies the operation to be invoked.

Limits: Up to 1024 characters; case-sensitive

ONEWAY

(Optional) Invokes the service one way. After the agent invokes the operation, the Web Service job completes without waiting for a response.

Note: Enclose values that contain delimiters (such as spaces) in double quotation marks.

Example: Invoke an Operation on an MBean

Suppose that you want to invoke the resetmem operation on the Config MBean to reset the value of the memory parameter to 50.

AGENT APPAGENT
URL service:jmx:rmi:///jndi/rmi://localhost:9999/server
MBEAN 'DefaultDomain:index=1,type=Config'
OPERATION resetmem
PARAMETER TYPE(Integer) VALUE(50)